How do we change password for "cn=Directory Manager"?
Fairly easy.
bash-3.00# cd /ds/slapd-ds
bash-3.00# ./stop-slapd
bash-3.00# ./getpwenc SSHA Password1
{SSHA}dCgq27we0IytFRiHKyae//IkTuPxPzV/MgvfHQ==
bash-3.00# cd config/
bash-3.00# vi dse.ldif
dn: cn=config
Changensslapd-rootpw: {SSHA}tDrGzk+F6zpkye+nYQL/Zb7NxtOpX68QeRZVPA==tonsslapd-rootpw: {SSHA}dCgq27we0IytFRiHKyae//IkTuPxPzV/MgvfHQ==
bash-3.00# ./start-slapd
Done.
No comments:
Post a Comment