DS6, Admin password recovery
Managed to misplace our "admin" password for logging into DSCC web interface. Is there a way to recover it?
I searched the forum and someone said that it is a security violation. I understand that. But I also believe that there are legitimate reasons for password recovery. The whole process can be secured so that it is not trivial and requires certain knowledge to ensure proper use, such as physical access to the server etc.
Thanks,
[456 byte] By [
snowdoga] at [2007-11-27 6:45:18]

# 1
Do you have your password for cn=Directory Manager?
If so, you can bind as Directory Manager, and overwrite (reset) the userPassword attribute for any entry you like.
You can also manually edit dse.ldif to change the password for cn=admin,cn=Administrators,cn=config or cn=Directory Manager:
- Stop your directory server.
- Make a backup copy of your dse.ldif file.
- Edit dse.ldif and change the userPassword attribute on cn=admin,cn=Administrators,cn=config. Or, for cn=Directory Manager, change the nsslapd-rootpw attribute. You can use cleartext for the password temporarily, but remember to change it again later via an LDAP connection, so it will be hashed.
- Restart the server.