-
-
Save ictus4u/83431f1a0861d758fb43bcf5b0cb4673 to your computer and use it in GitHub Desktop.
working with ldap admin tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@centos1 ~]# ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=hdfs))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=openiam,dc=org> (default) with scope subtree | |
# filter: (&(objectClass=posixGroup)(cn=hdfs)) | |
# requesting: ALL | |
# | |
# hdfs, Group, openiam.org | |
dn: cn=hdfs,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: hdfs | |
memberUid: uid=hdfs,ou=People,dc=openiam,dc=org | |
gidNumber: 601 | |
# search result | |
search: 2 | |
result: 0 Success | |
# numResponses: 2 | |
# numEntries: 1 | |
[root@centos1 ~]# ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=openiam,dc=org> (default) with scope subtree | |
# filter: (&(objectClass=posixGroup)(cn=mapred)) | |
# requesting: ALL | |
# | |
# mapred, Group, openiam.org | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: mapred | |
memberUid: ekoontz | |
memberUid: xevius | |
memberUid: bab | |
memberUid: bob | |
gidNumber: 600 | |
# search result | |
search: 2 | |
result: 0 Success | |
# numResponses: 2 | |
# numEntries: 1 | |
[root@centos1 ~]# echo "mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
ldap_delete: Invalid DN syntax (34) | |
additional info: invalid DN | |
[root@centos1 ~]# echo "cn=mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
[root@centos1 ~]# ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=openiam,dc=org> (default) with scope subtree | |
# filter: (&(objectClass=posixGroup)(cn=mapred)) | |
# requesting: ALL | |
# | |
# search result | |
search: 2 | |
result: 0 Success | |
# numResponses: 1 | |
[root@centos1 ~]# ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: uid=mapred,ou=people,dc=openiam,dc=org | |
memberUid: uid=ekoontz,ou=people,dc=ekoontz,dc=org | |
memberUid: uid=bab,ou=people,dc=openiam,dc=org | |
^C | |
[root@centos1 ~]# ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: uid=mapred,ou=people,dc=openiam,dc=org | |
memberUid: uid=ekoontz,ou=people,dc=openiam,dc=org | |
memberUid: uid=bab,ou=people,dc=openiam,dc=org | |
adding new entry "cn=mapred,ou=Group,dc=openiam,dc=org" | |
ldap_add: Object class violation (65) | |
additional info: object class 'posixGroup' requires attribute 'gidNumber' | |
[root@centos1 ~]# ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: uid=mapred,ou=people,dc=openiam,dc=org | |
memberUid: uid=ekoontz,ou=people,dc=openiam,dc=org | |
memberUid: uid=bab,ou=people,dc=openiam,dc=org | |
gidNumber: 602 | |
adding new entry "cn=mapred,ou=Group,dc=openiam,dc=org" | |
^C | |
[root@centos1 ~]# ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=openiam,dc=org> (default) with scope subtree | |
# filter: (&(objectClass=posixGroup)(cn=mapred)) | |
# requesting: ALL | |
# | |
# mapred, Group, openiam.org | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: uid=mapred,ou=people,dc=openiam,dc=org | |
memberUid: uid=ekoontz,ou=people,dc=openiam,dc=org | |
memberUid: uid=bab,ou=people,dc=openiam,dc=org | |
gidNumber: 602 | |
# search result | |
search: 2 | |
result: 0 Success | |
# numResponses: 2 | |
# numEntries: 1 | |
[root@centos1 ~]# ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=hdfs))" | |
# extended LDIF | |
# | |
# LDAPv3 | |
# base <dc=openiam,dc=org> (default) with scope subtree | |
# filter: (&(objectClass=posixGroup)(cn=hdfs)) | |
# requesting: ALL | |
# | |
# hdfs, Group, openiam.org | |
dn: cn=hdfs,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: hdfs | |
memberUid: uid=hdfs,ou=People,dc=openiam,dc=org | |
gidNumber: 601 | |
# search result | |
search: 2 | |
result: 0 Success | |
# numResponses: 2 | |
# numEntries: 1 | |
[root@centos1 ~]# echo "cn=mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
[root@centos1 ~]# ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
dn: cn=mapred,ou=Group,dc=openiam,dc=org | |
objectClass: posixGroup | |
objectClass: top | |
cn: mapred | |
memberUid: uid=mapred,ou=People,dc=openiam,dc=org | |
memberUid: uid=ekoontz,ou=People,dc=openiam,dc=org | |
memberUid: uid=bab,ou=People,dc=openiam,dc=org | |
memberUid: uid=bob,ou=People,dc=openiam,dc=org | |
gidNumber: 601 | |
adding new entry "cn=mapred,ou=Group,dc=openiam,dc=org" | |
^C | |
[root@centos1 ~]# history | |
333 find slapd.d/ | |
334 slappasswd | |
335 service slapd start | |
336 service slapd start | |
337 service slapd start | |
338 service slapd start | |
339 service slapd start | |
340 service slapd start | |
341 service slapd restart | |
342 ls -l /var/lib/ldap | |
343 cat /var/lib/ldap/DB_CONFIG | |
344 ls | |
345 mv slapd.d slapd.d.original | |
346 slappasswd | |
347 chown ldap:ldap /etc/openldap/slapd.conf | |
348 chmod 600 /etc/openldap/slapd.conf | |
349 service slapd restart | |
350 /etc/init.d/slapd start | |
351 /etc/init.d/slapd start | |
352 /etc/init.d/slapd stop | |
353 /etc/init.d/slapd restart | |
354 /etc/init.d/slapd restart | |
355 touch /var/run/slapd.pid | |
356 chown ldap /var/run/slapd.pid | |
357 /etc/init.d/slapd restart | |
358 man fopen | |
359 man 2 open | |
360 cat /usr/include/err.h | |
361 cat /usr/include/errno.h | |
362 less /usr/include/errno.h | |
363 man 2 open | |
364 man errno | |
365 man strerror | |
366 man 2 open | |
367 man EACCES | |
368 /etc/init.d/slapd restart | |
369 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=com" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
370 history | grep yum | |
371 yum install openldap-clients | |
372 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=com" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
373 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
374 cd .. | |
375 pwd | |
376 service slapd stop | |
377 history | grep ldap | |
378 mv /var/lib/ldap /var/lib/ldap-old3 | |
379 yum -y erase openldap-servers openldap-clients | |
380 yum -y install openldap-servers openldap-clients | |
381 service slapd start | |
382 service slapd start | |
383 history | |
384 touch /var/run/slapd.pid | |
385 chown ldap /var/run/slapd.pid | |
386 service slapd start | |
387 service slapd restart | |
388 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
389 chown -R ldap:ldap /var/lib/ldap | |
390 service slapd start | |
391 service slapd restart | |
392 service slapd restart | |
393 service slapd restart | |
394 touch /var/run/slapd.pid | |
395 chown ldap /var/run/slapd.pid | |
396 service slapd restart | |
397 slappasswd | |
398 service slapd restart | |
399 service slapd restart | |
400 service slapd restart | |
401 grep SSHA /etc/openldap/slapd.conf | |
402 chown ldap:ldap /etc/openldap/slapd.conf | |
403 chmod 600 /etc/openldap/slapd.conf | |
404 service slapd restart | |
405 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
406 chown -R ldap:ldap /var/lib/ldap | |
407 cd /etc/openldap | |
408 mv slapd.d slapd.d.original | |
409 slappasswd | |
410 slappasswd | |
411 service slapd start | |
412 service slapd start | |
413 ls -l /var/run/slapd.pid | |
414 ps -ef |grep slap | |
415 chkconfig slapd on | |
416 service slapd restart | |
417 cd | |
418 histoyr | |
419 history | |
420 yum -y erase openldap-servers openldap-clients | |
421 yum -y install openldap-servers openldap-clients | |
422 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
423 chown -R ldap:ldap /var/lib/ldap | |
424 cd /etc/openldap | |
425 mv slapd.d slapd.d.original | |
426 mv slapd.d slapd.d.original.5 | |
427 mv slapd.d.original.5 slapd.d | |
428 ls -lt | |
429 slappasswd | |
430 service slapd start | |
431 chkconfig slapd on | |
432 service slapd start | |
433 service slapd start | |
434 jps | |
435 ps -ef | grep slap | |
436 service slapd restart | |
437 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
438 ls | |
439 find slapd.d | |
440 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
441 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
442 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
443 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -f slapd.d/cn\=config.ldif | |
444 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f slapd.d/cn\=config.ldif | |
445 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f slapd.d/cn\=config/cn\=schema/cn\=\{0\}core.ldif | |
446 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f slapd.d/cn\=config/cn\=schema/cn\=\{0\}core.ldif | |
447 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
448 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
449 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f openiam.ldif | |
450 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f openiam.ldif | |
451 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
452 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
453 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
454 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
455 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
456 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
457 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
458 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
459 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
460 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
461 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f steve.ldif | |
462 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f steve.ldif | |
463 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f steve.ldif | |
464 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f ekoontz.ldif | |
465 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
466 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
467 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
468 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
469 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
470 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
471 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
472 ldapsearch -x '(objectclass=groupOfNames)' | |
473 ldapsearch -x '(objectclass=groupOfNamesz)' | |
474 ldapsearch -x '(objectclass=group)' | |
475 ldapsearch -x '(objectclass=people)' | |
476 ldapsearch -x '(objectclass=People)' | |
477 ldapsearch -x '(objectclass=account)' | |
478 ldapsearch -x '(objectclass=*)' | |
479 ldapsearch -x '(objectclass=*)' -D "cn=Manager,dc=openiam,dc=org" | |
480 ldapsearch -w foobar -x '(objectclass=*)' -D "cn=Manager,dc=openiam,dc=org" | |
481 ldapsearch -w foobar -x '(objectclass=*)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
482 ldapsearch -w foobar -x '(objectclass=account)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
483 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
484 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
485 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
486 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
487 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
488 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
489 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
490 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
491 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
492 ldapsearch -w foobar -x '(objectclass=account)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
493 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
494 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
495 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
496 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
497 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
498 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
499 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
500 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
501 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
502 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
503 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
504 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -f coolguys.ldif | |
505 ldapsearch -w foobar -x '(objectclass=account)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
506 ldapsearch -w foobar -x '(objectclass=groupOfNames)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
507 ifconfig | |
508 ldapsearch -w foobar -x '(objectclass=groupOfNames)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
509 ldapsearch -h 172.16.175.3 -w foobar -x '(objectclass=groupOfNames)' -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
510 ldapsearch -h 172.16.175.3 -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
511 ldapsearch -h 172.16.175.3 -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
512 cat ekoontz.ldif | |
513 cat steve.ldif | |
514 cat coolguys.ldif | |
515 cat openiam.ldif | |
516 grep account * | |
517 pwd | |
518 ack account . | |
519 grep -iHr account . | |
520 grep -iHr account . | less | |
521 cat slapd.conf | |
522 cd | |
523 service openldap stop | |
524 service sldapd stop | |
525 service slapd stop | |
526 history | grep erase | |
527 yum -y erase openldap-servers openldap-clients | |
528 cd /usr/lib | |
529 ls | |
530 cd /var/lib | |
531 ls | |
532 mv ldap ldap-old4 | |
533 cd /etc | |
534 mv openldap openldap-ok | |
535 man sss | |
536 ls /var/lib/sss | |
537 find /var/lib/sss/pubconf/ | |
538 find /var/lib/sss | |
539 cd | |
540 history | grep yum | |
541 yum -y install emacs openldap-servers openldap-clients | |
542 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
543 chown -R ldap:ldap /var/lib/ldap | |
544 slappasswd | |
545 emacs -nw /etc/openldap | |
546 emacs -nw /etc/openldap/slapd.conf | |
547 chmod 600 /etc/openldap/slapd.conf | |
548 chown ldap /etc/openldap/slapd.conf | |
549 /etc/init.d/slapd start | |
550 ps -ef | |
551 ps -ef | grep slap | |
552 ldapsearch -h 172.16.175.3 -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
553 slappasswd | |
554 ldapsearch -h 172.16.175.3 -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
555 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
556 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
557 ldapsearch -W -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
558 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
559 /etc/init.d/slapd restart | |
560 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
561 /etc/init.d/slapd restart | |
562 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
563 /etc/init.d/slapd restart | |
564 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
565 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
566 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
567 /etc/init.d/slapd restart | |
568 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
569 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
570 ldapsearch -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
571 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
572 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
573 ldapsearch -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
574 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
575 slappasswd | |
576 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
577 /etc/init.d/slapd restart | |
578 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
579 ls /var/lib/ldap | |
580 /etc/init.d/slapd stop | |
581 rm -rf /var/lib/ldap | |
582 /etc/init.d/slapd restart | |
583 /etc/init.d/slapd start | |
584 ls /var/lib/ldap | |
585 mkdir /var/lib/ldap | |
586 chown -R ldap:ldap /var/lib/ldap | |
587 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
588 chown -R ldap:ldap /var/lib/ldap | |
589 ls /var/lib/ldap | |
590 slappasswd | |
591 /etc/init.d/slapd restart | |
592 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
593 /etc/init.d/slapd restart | |
594 ldapsearch -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
595 ldapsearch -x -h localhost -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
596 ldapsearch -x -w foobar -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
597 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
598 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
599 /etc/init.d/slapd restart | |
600 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
601 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
602 /etc/init.d/slapd restart | |
603 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
604 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
605 /etc/init.d/slapd stop | |
606 rm -rf /var/lib/ldap | |
607 mkdir /var/lib/ldap | |
608 chown ldap:ldap /var/lib/ldap | |
609 history | |
610 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
611 chown ldap:ldap /var/lib/ldap | |
612 chown -R ldap:ldap /var/lib/ldap | |
613 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
614 /etc/init.d/slapd start | |
615 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
616 ldappasswd | |
617 ldappasswd | |
618 slappasswd | |
619 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
620 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
621 /etc/init.d/slapd start | |
622 /etc/init.d/slapd restart | |
623 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
624 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
625 ldapsearch -v -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
626 history | |
627 /etc/init.d/slapd stop | |
628 rm -rf /var/lib/ldap | |
629 mkdir /var/lib/ldap | |
630 cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG | |
631 chown -R ldap:ldap /var/lib/ldap | |
632 slappasswd | |
633 ls /var/lib/ldap | |
634 service slapd start | |
635 chkconfig slapd on | |
636 ldapsearch -v -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
637 service slapd restart | |
638 ldapsearch -v -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
639 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
640 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
641 ldapadd -x -D "cn=Manager,dc=openiam,dc=org" -W -f ldap-init.ldif | |
642 ldapadd -x -D "cn=Manager,dc=openiam,dc=org" -W | |
643 ldapadd -x -D "cn=Manager,dc=openiam,dc=org" -W | |
644 history | |
645 yum -y erase openldap-servers openldap-clients | |
646 yum -y install openldap-servers openldap-clients | |
647 history | |
648 slappasswd | |
649 service slapd start | |
650 service slapd restart | |
651 service slapd start | |
652 service slapd restart | |
653 service slapd restart | |
654 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
655 emacs -nw | |
656 cd /etc/openldap | |
657 ls -lt | |
658 chown ldap:ldap * | |
659 ls -lt | |
660 eamcs -nw slapd.conf | |
661 emacs -nw slapd.conf | |
662 ping yahoo.com | |
663 /etc/init.d/network | |
664 slappasswd | |
665 /etc/init.d/slapd restart | |
666 ldapsearch -w foobar -d 10 -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
667 ldapsearch -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
668 cd /etc/openldap | |
669 ls | |
670 grep -iHr user . | |
671 grep -iHr amaccountname . | |
672 grep -iHr user . | |
673 grep -iHr user . | |
674 cd /etc/openldap | |
675 ls | |
676 ldapadd -w foobar -h localhost | |
677 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" | |
678 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" openiam.ldif | |
679 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" -f openiam.ldif | |
680 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -b "dc=openiam,dc=org" -f openiam.ldif | |
681 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
682 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
683 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
684 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
685 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
686 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
687 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
688 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
689 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f openiam.ldif | |
690 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f ../openldap-ok/steve.ldif | |
691 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f ekoontz.ldif | |
692 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f ekoontz.ldif | |
693 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f steve.ldif | |
694 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f coolguys.ldif | |
695 history | grep search | |
696 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
697 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" | |
698 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" | |
699 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f user1.ldif | |
700 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f user1.ldif | |
701 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f user1.ldif | |
702 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f hdfs.ldif | |
703 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f hdfsgroups.ldif | |
704 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f group2.ldif | |
705 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f hdfsgroups.ldif | |
706 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f hdfsgroups.ldif | |
707 /etc/init.d/ntpdate restart | |
708 ntpdate -U ntp -s -b 172.16.175.1 | |
709 date | |
710 ntpdate -U ntp -s -b 172.16.175.1 | |
711 echo $? | |
712 ntpdate -U ntp -b 172.16.175.1 | |
713 ntpdate -v -U ntp -b 172.16.175.1 | |
714 ntpdate -q -v -U ntp -b 172.16.175.1 | |
715 reboot | |
716 man ntpdate | |
717 date | |
718 man date | |
719 date "Thu Feb 28 16:33:23 UTC 2013" | |
720 date 022808352013.06 | |
721 date | |
722 emacs -nw | |
723 sudo service ntpdate restart | |
724 ping yahoo.com | |
725 sudo service ntpdate restart | |
726 cd eamcs | |
727 emacs | |
728 ntpdate -q -v -U ntp -b 172.16.175.1 | |
729 emacs -nw | |
730 history | grep service | |
731 service slapd restart | |
732 ntpdate -q -v -U ntp -b 172.16.175.1 | |
733 tail -f /var/log/krb5kdc.log | |
734 cd /usr/java/ | |
735 ls -lt | |
736 rm default/ | |
737 rm default | |
738 ln -s /usr/java/jdk1.6.0_39 latest | |
739 cd jdk1.6.0_39 | |
740 ls | |
741 ls -lt | |
742 rm jdk1.6.0_33 | |
743 ls -lt | |
744 cd | |
745 mkdir /usr/java/jdk1.6.0_39/lib/security | |
746 cp /home/ekoontz/jce/*.jar /usr/java/jdk1.6.0_39/lib/security/ | |
747 ls /usr/java/jdk1.6.0_39/lib/security/ | |
748 emacs -nw /etc/ | |
749 emacs -nw /etc/ | |
750 tail -f /var/log/krb5kdc.log | |
751 tail -f /var/log/krb5kdc.log | |
752 cd | |
753 reboot | |
754 tail -f /var/log/krb5libs.log | |
755 tail -f /var/log/krb5kdc.log | |
756 emacs -nw /etc/krb5.conf | |
757 emacs -nw /etc/krb5.conf | |
758 yum search gss | |
759 emacs -nw /etc/krb5.conf | |
760 /etc/init.d/krb5kdc restart | |
761 emacs -nw /etc/krb5.conf | |
762 ls /etc/init.d/ | |
763 /etc/init.d/slapd restart | |
764 tail -f /var/log/krb5kdc.log | |
765 cat /etc/krb5.conf | |
766 emacs -nw /etc/krb5.conf | |
767 emacs -nw | |
768 kinit -k -t /tmp/services.keytab hdfs/eugenes-macbook-pro.local | |
769 klist | |
770 kinit -R | |
771 klist --help | |
772 klist e | |
773 klist -e | |
774 kinit -k -t /tmp/services.keytab hdfs/eugenes-macbook-pro.local | |
775 tail -f /var/log/krb5kdc.log | |
776 tail -f /var/log/krb5kdc.log | |
777 hostname -f | |
778 tail -f /var/log/krb5kdc.log | |
779 tail -f /var/log/krb5kdc.log | |
780 cat /var/log/krb5kdc.log | |
781 cat /var/log/krb5kdc.log | |
782 tail -f /var/log/krb5kdc.log | |
783 cd /usr/java/ | |
784 ls | |
785 cd jdk1.6.0_39 | |
786 ls | |
787 find . -name krb5.conf | |
788 env | grep KRB | |
789 man krb5 | |
790 man krb5.conf | |
791 /etc/init.d/krb5kdc stop | |
792 /etc/init.d/krb5kdc start | |
793 history | |
794 service slapd restart | |
795 ktutil /tmp/services.keytab | |
796 ktutil | |
797 ktutil --help | |
798 kinit -k -t /tmp/services.keytab hdfs/[email protected] | |
799 kinit -k -t /tmp/services.keytab hdfs/[email protected] | |
800 kinit -k -t /tmp/services.keytab [email protected] | |
801 tail -f /var/log/krb5kdc.log | |
802 emacs -nw /etc/krb5.conf | |
803 emacs -nw /etc/krb5.conf | |
804 history | |
805 ldapdelete | |
806 man ldapdelete | |
807 history | grep search | |
808 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
809 history | grep ldap | |
810 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f mapred.ldif | |
811 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f hdfsgroups.ldif | |
812 history | grep search | |
813 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
814 exit | |
815 emacs -nw /etc/openldap | |
816 kadmin | |
817 kadmin.local | |
818 pwd | |
819 chown ekoontz hdfs.keytab | |
820 mv hdfs.keytab /home/ekoontz/hadoop-runtime/etc/hadoop | |
821 kadmin.local | |
822 chown ekoontz mapred.keytab | |
823 kadmin.local | |
824 rm hdfs.keytab | |
825 %1 | |
826 cp hdfs.keytab /home/ekoontz/hdfs.keytab | |
827 chown ekoontz /home/ekoontz/hdfs.keytab | |
828 history | grep ldapadd | |
829 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f hadoopgroup.ldif | |
830 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
831 ldapdelete -d 5-w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
832 ldapdelete -d 5 -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
833 cat deletehadoop.ldif | |
834 ldapdelete -d 5 -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
835 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
836 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f hadoopgroup.ldif | |
837 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" | |
838 cn=hadoop3,ou=group | |
839 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" | |
840 history | grep search | |
841 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -W -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
842 history | grep search | |
843 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
844 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=account" | |
845 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
846 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames(member=hdfs)" | |
847 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames(member={hdfs})" | |
848 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&objectclass=groupOfNames)" | |
849 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
850 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s "objectclass=*" | |
851 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
852 history | grep delete | |
853 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletehadoop.ldif | |
854 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
855 history | grep add | |
856 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f hadoopgroup.ldif | |
857 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
858 exit | |
859 kadmin.local | |
860 cat /etc/krb5.conf | |
861 emacs -nw /etc/krb5.conf | |
862 kadmin.local | |
863 pwd | |
864 chown ekoontz services.keytab | |
865 cp services.keytab /home/ekoontz/hadoop-runtime/etc/hadoop/ | |
866 ktutil | |
867 emacs -nw /etc/openldap | |
868 adduser mapred | |
869 cd /tmp/hadoop-mapred/ | |
870 ls -lt | |
871 mkdir local | |
872 pwd | |
873 cd | |
874 cd /home/ekoontz/mr1/build/hadoop-mr1-2.1.0.tm6/logs | |
875 ls | |
876 ls -lt | |
877 chown -R mapred userlogs | |
878 chgrp -R mapred userlogs | |
879 chmod 775 userlogs | |
880 mkdir history | |
881 chown -R mapred history | |
882 chgrp -R mapred history | |
883 chmod 775 history | |
884 cd .. | |
885 ls -lt | |
886 chgrp -R hadoop logs | |
887 bash | |
888 grep ldap | |
889 history | grep ldap | |
890 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f mapredgroup.ldif | |
891 emacs -nw /etc/openldap | |
892 ps -ef | |
893 ps -ef | grep slap | |
894 /etc/init.d/slapd start | |
895 chown root:mapred /usr/lib/hadoop-mr1-2.1.0.tm6/sbin/Linux-amd64-64/task-controller | |
896 chmod 4754 /usr/lib/hadoop-mr1-2.1.0.tm6/sbin/Linux-amd64-64/task-controller | |
897 shutdown -h -t0 now | |
898 cd /usr/lib/hadoop-mr1-2.1.0.tm6/ | |
899 ls | |
900 ack staging | |
901 grep -Hir staging . | |
902 less ./src/mapred/mapred-default.xml | |
903 emacs -nw /usr/lib/mr | |
904 emacs -nw /tmp | |
905 mount | |
906 ls /mnt | |
907 mkdir /mnt/extradisk | |
908 cfdisk /dev/sdb | |
909 mkfs.ext3 /dev/sdb1 | |
910 emacs -nw /etc/fstab | |
911 mount /mnt/extradisk | |
912 emacs -nw /etc/fstab | |
913 mount /mnt/extradisk | |
914 df -h | |
915 service slapd | |
916 chkconfig | |
917 chkconfig slapd | |
918 chkconfig slapd on | |
919 chkconfig | |
920 service slapd start | |
921 emacs -nw group | |
922 emacs -nw /etc/group | |
923 pwd | |
924 ls -lt | |
925 pwd | |
926 ls | |
927 cd .. | |
928 ls | |
929 cd jobcache/ | |
930 ls -lt | |
931 sudo -u mapred bash | |
932 cd /mnt/extradisk/mapred-local-dir/ | |
933 ls -lt | |
934 cd taskTracker/ | |
935 ls | |
936 cd ekoontz/ | |
937 ls -lt | |
938 cd jobcache/ | |
939 ls | |
940 cd job_201303062139_0001/ | |
941 ls | |
942 cd .. | |
943 ls -lt | |
944 groups mapred | |
945 groups ekoontz | |
946 stat job_201303062139_0001 | |
947 exit | |
948 find /usr/lib/hadoop-mr1-2.1.0.tm6/ -name "*hadoop-common*.jar" | |
949 ls | |
950 ls -lt | |
951 cd ttprivate/ | |
952 ls | |
953 cd taskTracker/ | |
954 ls | |
955 emacs -nw | |
956 sudo su - mapred -c "/usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop tasktracker" | |
957 find /mnt/extradisk/mapred-local-dir/ | |
958 find /mnt/extradisk/mapred-local-dir/ -ls | |
959 find . -name "*attempt*" | |
960 find /media -name "*attempt*" -type d | |
961 cd /mnt/extradisk/ | |
962 find . -name syslog | |
963 find . -name syslog -ls | |
964 less ./mapred-local-dir/userlogs/job_201303081214_0001/attempt_201303081214_0001_m_000006_0/syslog | |
965 less ./mapred-local-dir/userlogs/job_201303081214_0001/attempt_201303081214_0001_m_000005_0/syslog | |
966 ack -i isolation | |
967 grep -iHr isolation | |
968 grep -iHr isolation . | |
969 cd /var/log | |
970 ls | |
971 cd hadoop | |
972 ls | |
973 cat SecurityAuth.audit | |
974 cd /var/log | |
975 ls | |
976 cd /usr/lib/hadoop-mr1-2.1.0.tm6/ | |
977 ls | |
978 find /mnt/extradisk/ | |
979 cat /mnt/extradisk/mapred-local-dir/ttprivate/taskTracker/ekoontz/jobcache/job_201303081523_0001/attempt_201303081523_0001_m_000003_0/split.info | |
980 cat /mnt/extradisk/mapred-local-dir/userlogs/job_201303081523_0001/attempt_201303081523_0001_m_000006_0/syslog | |
981 mv /mnt/extradisk/mapred-local-dir /mnt/extradisk/mapred-local-dir-old | |
982 find /mnt/extradisk/ | |
983 ls -l /mnt/extradisk/ | |
984 mkdir /mnt/extradisk/mapred-local-dir | |
985 chmod 755 /mnt/extradisk/mapred-local-dir | |
986 chown mapred:hadoop /mnt/extradisk/mapred-local-dir | |
987 rm -rf /mnt/extradisk/mapred-local-dir-old/ | |
988 rm -rf /mnt/extradisk/mapred-local-dir | |
989 mkdir /mnt/extradisk/mapred-local-dir | |
990 chmod 755 /mnt/extradisk/mapred-local-dir | |
991 chown mapred:hadoop /mnt/extradisk/mapred-local-dir | |
992 cd /usr/lib/hadoop-mr1-2.1.0.tm6/ | |
993 ls | |
994 ack | |
995 export PATH=/home/ekoontz/bin/:$PATH | |
996 which ack | |
997 ack -a ekoontz | |
998 ack -a search | |
999 /home/ekoontz/bin/ack -a search | |
1000 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
1001 ldapsearch -h centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
1002 cd /etc/openldap | |
1003 ls | |
1004 cat mapredgroup.ldif | |
1005 cat deletemapredgroup.ldif | |
1006 history |grep delete | |
1007 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletemapredgroup.ldif | |
1008 history | grep mapredgroup | |
1009 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f mapredgroup.ldif | |
1010 history | grep search | |
1011 ldapsearch -h centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
1012 history | grep add | |
1013 c ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f ekoontz.ldif | |
1014 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" | |
1015 history | grep search | grep account | |
1016 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=account" | |
1017 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" -f bab.ldif | |
1018 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=account" | |
1019 history | |
1020 cat bab.ldif | |
1021 emacs -nw bob.ldif | |
1022 cat bob.ldif | |
1023 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=account" | |
1024 ldapadd -w foobar -h localhost -D "cn=Manager,dc=openiam,dc=org" | |
1025 ldapmodify | |
1026 history | grep delete | |
1027 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" -f deletemapredgroup.ldif | |
1028 emacs -nw mapredgroup.ldif | |
1029 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f mapredgroup.ldif | |
1030 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=account" | |
1031 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
1032 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
1033 kadmin.local | |
1034 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -mkdir | |
1035 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -mkdir /user/xevius | |
1036 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chown xevius /user/xevius | |
1037 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chmod 700 /user/xevius | |
1038 adduser xevius | |
1039 history | |
1040 cat deletemapredgroup.ldif | |
1041 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" | |
1042 ldapdelete -w foobar -D "cn=Manager,dc=openiam,dc=org" | |
1043 cat mapredgroup.ldif | |
1044 ls *.ldif | |
1045 cat group2.ldif | |
1046 cat openiam.ldif | |
1047 cat mapredgroup.ldif | |
1048 grep groupOfNames *.ldif | |
1049 ls | |
1050 klist | |
1051 history | grep fs | |
1052 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -rm -r /tmp/hadoop-data | |
1053 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -mkdir /tmp/hadoop-data/mapred | |
1054 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chmod 775 /tmp/hadoop-data/mapred | |
1055 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chgrp mapred /tmp/hadoop-data/mapred | |
1056 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames(member={hdfs})" | |
1057 history | grep search | |
1058 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
1059 ldapadd -w foobar -D "cn=Manager,dc=openiam,dc=org" -f mapredgroup.ldif | |
1060 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chmod 770 /tmp/hadoop-data/mapred | |
1061 history | |
1062 hadoop fs -chown hdfs:mapred /tmp/hadoop-data/mapred/staging | |
1063 hadoop fs -chmod 770 /tmp/hadoop-data/mapred/staging | |
1064 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chmod 770 /tmp/hadoop-data/mapred/staging | |
1065 /usr/lib/hadoop-mr1-2.1.0.tm6/bin/hadoop fs -chown hdfs:mapred /tmp/hadoop-data/mapred/staging | |
1066 locate migrationtools | |
1067 yum search migrationtools | |
1068 yum install migrationtools | |
1069 rpm -qil migrationtools | |
1070 less /usr/share/migrationtools/migrate_common.ph | |
1071 /usr/share/migrationtools/migrate_base.pl > /root/base.ldif | |
1072 /usr/share/migrationtools/migrate_group.pl /etc/group > /root/base.ldif | |
1073 /usr/share/migrationtools/migrate_base.pl > /root/base.ldif | |
1074 /usr/share/migrationtools/migrate_group.pl /etc/group > /root/group.ldif | |
1075 /usr/share/migrationtools/migrate_hosts.pl /etc/hosts > /root/hosts.ldif | |
1076 cat /etc/hosts | |
1077 /usr/share/migrationtools/migrate_passwd.pl /etc/passwd > /root/passwd.ldif | |
1078 cd /root | |
1079 ls -lt | |
1080 less passwd.ldif | |
1081 man getent | |
1082 getent --help | |
1083 emacs -nw /usr/share/migrationtools/migrate_common.ph | |
1084 pwd | |
1085 /usr/share/migrationtools/migrate_group.pl /etc/group > /root/base.ldif | |
1086 /usr/share/migrationtools/migrate_base.pl > /root/base.ldif | |
1087 /usr/share/migrationtools/migrate_group.pl /etc/group > /root/group.ldif | |
1088 /usr/share/migrationtools/migrate_hosts.pl /etc/hosts > /root/hosts.ldif | |
1089 /usr/share/migrationtools/migrate_passwd.pl /etc/passwd > /root/passwd.ldif | |
1090 ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /tmp/base.ldif | |
1091 ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /root/base.ldif | |
1092 ldapadd -D "cn=Manager,dc=domain,dc=com" -w foobar -f /root/base.ldif | |
1093 ldapadd -D "cn=Manager,dc=openiam,dc=org" -W -f /root/base.ldif | |
1094 cat /root/base.ldif | |
1095 ldapadd -D "cn=Manager,dc=openiam,dc=org" -W -f /root/group.ldif | |
1096 ldapadd -D "cn=Manager,dc=openiam,dc=org" -W -f /root/passwd.ldif | |
1097 ldapadd -D "cn=Manager,dc=openiam,dc=org" -W -f /root/hosts.ldif | |
1098 ldapsearch uid=foouser | |
1099 ldapsearch -D "cn=Manager,dc=openiam,dc=org" uid=foouser | |
1100 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=foouser | |
1101 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=ekoontz | |
1102 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=xevius | |
1103 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=xevius2 | |
1104 getent passwd | grep xevius | |
1105 getent passwd | grep ekoontz | |
1106 getent passwd | |
1107 /etc/init.d/slapd restart | |
1108 getent passwd | |
1109 getent passwd | grep ekoontz | |
1110 getent | |
1111 getent --help | |
1112 getent passwd ekoontz | |
1113 strace getent passwd ekoontz | |
1114 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=xevius | |
1115 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -W uid=ekoontz | |
1116 ls | |
1117 less passwd.ldif | |
1118 cat base.ldif | |
1119 ldapadd -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/base.ldif | |
1120 ldapdelete -D "cn=Manager,dc=opemiam,dc=org" -w foobar | |
1121 ldapdelete -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1122 ldapdelete -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/base.ldif | |
1123 ldapdelete -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1124 dc: openiam |# builtin objectClass: top |#attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber' objectClass: domain |# DESC 'An integer uniquely identifying a user in an administrative domain' objectClass: domainRelatedObject |# EQUALITY integerMatch associatedDomain: local |# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) | |
1125 ldapdelete -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1126 dc: openiam | |
1127 objectClass: top | |
1128 objectClass: domain | |
1129 objectClass: domainRelatedObject | |
1130 associatedDomain: local | |
1131 ldapdelete -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1132 ldapdelete | |
1133 man ldapdelete | |
1134 ldapdelete -r -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1135 history | grep search | |
1136 ldapsearch -r -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "objectclass=*" | |
1137 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "objectclass=*" | |
1138 ldapadd -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/base.ldif | |
1139 ldapadd -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/group.ldif | |
1140 ldapadd -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/hosts.ldif | |
1141 ldapadd -D "cn=Manager,dc=openiam,dc=org" -w foobar -f /root/passwd.ldif | |
1142 ldapsearch uid=ekoontz | |
1143 ldapsearch -r -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "objectclass=*" | |
1144 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "objectclass=*" | |
1145 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar uid=ekoontz | |
1146 getent passwd | grep xevius | |
1147 /etc/init.d/slapd restart | |
1148 getent passwd | grep xevius | |
1149 cat /etc/nsswitch.conf | |
1150 getent passwd | grep xevius | |
1151 getent passwd | |
1152 getent passwd | grep xevius | |
1153 /etc/init.d/slapd restart | |
1154 getent passwd | grep xevius | |
1155 ls -l /lib64/security/pam_ldap.so | |
1156 getent passwd | grep xevius | |
1157 /etc/init.d/slapd restart | |
1158 getent passwd | grep xevius | |
1159 getent password | grep xevius | |
1160 getent passwd | grep xevius | |
1161 /etc/init.d/slapd restart | |
1162 getent passwd | grep xevius | |
1163 history | grep search | |
1164 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar uid=ekoontz | |
1165 history | grep search | |
1166 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
1167 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | |
1168 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=*" | less | |
1169 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1170 ldapsearch -h ldap://localhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1171 ldapsearch ldap://localhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1172 ldapsearch ldap://lfooocalhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1173 ldapsearch -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1174 ldapsearch ldap://lfooocalhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1175 getent passwd | grep xevius | |
1176 ps | |
1177 getent passwd | grep xevius | |
1178 /etc/init.d/slapd stop | |
1179 getent passwd | grep xevius | |
1180 hostname | |
1181 dig centos1.local | |
1182 /etc/init.d/slapd stop | |
1183 /etc/init.d/slapd restart | |
1184 getent passwd | grep xevius | |
1185 ldapsearch ldap://lfooocalhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1186 ldapsearch --help | |
1187 ldapsearch -H ldap://lfooocalhost/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1188 ldapsearch -H ldap://172.16.175.3/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1189 ldapsearch -H ldap://centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1190 ldapsearch -H ldap://xcentos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1191* ldapsearch -H ldap://centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount"s | |
1192 ldapsearch -H ldap://xcentos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1193 ldapsearch -H ldap://centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1194 /etc/init.d/slapd restart | |
1195 ldapsearch -H ldap://centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1196 getent passwd | grep xevius | |
1197 history | |
1198 ldapsearch -H ldap://centos1.local -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixGroup" | |
1199 history | grep search | |
1200 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
1201 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixGroup" | |
1202 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=groupOfNames" | |
1203 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixGroup" | |
1204 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixUser" | |
1205 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "objectclass=posixAccount" | |
1206 history | grep search | |
1207 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=groupOfNames))" | |
1208 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup))" | |
1209 cat /etc/group | |
1210 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup))" | |
1211 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup))" | less | |
1212 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup))" | |
1213 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(uid=hdfs))" | |
1214 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(uid=ekoontz))" | |
1215 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(uid=mapred))" | |
1216 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(uid='mapred'))" | |
1217 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=top)(uid='mapred'))" | |
1218 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=top)(uid=mapred))" | |
1219 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixAccount)(uid=mapred))" | |
1220 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup))" | |
1221 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=xevius)" | |
1222 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn:=xevius)" | |
1223 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=xevius))" | |
1224 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=mapred))" | |
1225 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1226 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(memberUid=root))" | |
1227 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(memberUid=mapred))" | |
1228 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(memberUid=hdfs))" | |
1229 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1230 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" | |
1231 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1232 ldapadd -H ldap://centos1.local/ -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" | |
1233 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -b "dc=openiam,dc=org" -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1234 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1235 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1236 ldapmodify -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1237 ldapmodify -h localhost -D "cn=Manager,dc=openiam,dc=org" -w fooba | |
1238 ldapmodify -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1239 ldapmodify -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1240 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1241 ldapmodify -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1242 ldapmodify -a -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1243 ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1244 objectClass: top | |
1245 cn: hdfs | |
1246 userPassword:: e2NyeXB0fXg= | |
1247 gidNumber: 501 | |
1248 userPassword:: e2NyeXB0fXg= | |
1249 ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1250 objectClass: posixGroup | |
1251 objectClass: top | |
1252 cn: hdfs | |
1253 userPassword:: e2NyeXB0fXg= | |
1254 gidNumber: 501 | |
1255 memberUid: hdfs | |
1256 ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar hdfs,ou=Group,dc=openiam,dc=org | |
1257 echo "hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1258 echo "cn=hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1259 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1260 echo "cn=mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1261 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1262 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(cn=hdfs))" | |
1263 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(memberUid=hdfs))" | |
1264 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectclass=posixGroup)(memberUid=mapred))" | |
1265 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs))" | |
1266 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs,ou=People))" | |
1267 echo "cn=hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1268 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1269 echo "cn=hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1270 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1271 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs,ou=People))" | |
1272 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1273 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "&(objectClass=posixGroup)" | |
1274 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1275 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))(uid=hdfs,ou=Group,dc=openiam,dc=org)" | |
1276 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))(uid=hdfs)" | |
1277 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))(uid=hdfs))" | |
1278 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=hdfs))" | |
1279 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=hdfs,ou=People))" | |
1280 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=hdfs,ou=People,dc=openiam))" | |
1281 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=hdfs,ou=People,dc=openiam,dc=org))" | |
1282 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1283 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=uid=hdfs,ou=People,dc=openiam,dc=org))" | |
1284 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs))" | |
1285 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1286 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=(uid=hdfs)))" | |
1287 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)&(memberUid=(uid=hdfs)))" | |
1288 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1289 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)&(memberUid=ekoontz)" | |
1290 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=ekoontz)" | |
1291 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=ekoontz))" | |
1292 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs))" | |
1293 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=mapred))" | |
1294 echo "cn=hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1295 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1296 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=mapred))" | |
1297 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs))" | |
1298 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=uid=hdfs))" | |
1299 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=hdfs))" | |
1300 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=ekoontz))" | |
1301 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixUser)" | |
1302 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixUser))" | |
1303 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixAccount))" | |
1304 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixAccount))" | less | |
1305 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=ekoontz))" | |
1306 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=ekoontz))" | |
1307 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=ekoontz,ou=People))" | |
1308 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=ekoontz,ou=People,dc=openiam))" | |
1309 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=ekoontz,ou=People,dc=openiam,dc=org))" | |
1310 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1311 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(uid=ekoontz))" | |
1312 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=ekoontz))" | |
1313 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=uid=ekoontz,ou=People,dc=openiam,dc=org))" | |
1314 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1315 echo "cn=hdfs,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1316 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1317 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup))" | |
1318 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)&(memberUid=uid=hdfs,ou=People,dc=openiam,dc=org))" | |
1319 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)&(memberUid=uid=hdfs,ou=People,dc=openiam,dc=org)))" | |
1320 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)&(memberUid=uid=hdfs,ou=People,dc=openiam,dc=org)" | |
1321 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(memberUid=uid=hdfs,ou=People,dc=openiam,dc=org))" | |
1322 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=hdfs))" | |
1323 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
1324 echo "mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1325 echo "cn=mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1326 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
1327 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1328 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=mapred))" | |
1329 ldapsearch -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar -s sub "(&(objectClass=posixGroup)(cn=hdfs))" | |
1330 echo "cn=mapred,ou=Group,dc=openiam,dc=org" | ldapdelete -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1331 ldapadd -h localhost -D "cn=Manager,dc=openiam,dc=org" -w foobar | |
1332 history | |
[root@centos1 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment