Sunday, September 13, 2009

[SunDS] How to change administrative account passwords - Part II

There is another administrative account to manage Sun Directory Server 5.x instances - "cn=Directory Manager".




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
Change
nsslapd-rootpw: {SSHA}tDrGzk+F6zpkye+nYQL/Zb7NxtOpX68QeRZVPA==
to
nsslapd-rootpw: {SSHA}dCgq27we0IytFRiHKyae//IkTuPxPzV/MgvfHQ==

bash-3.00# ./start-slapd

Done.


No comments:

Post a Comment