Reset the Oracle Unified Directory Manager Password
My admin password to access the webconsole for OUD 11gR2 was somehow reset. This is what I did to remedy the situation.
First, encode a new password. Use the utility provided in the /bin folder.
$ ./encode-password -i -s SSHA512
-i is for interactive mode
-s chooses the encoding method, in this case SSHA512.
It will ask for entry & re-entry of the desired password and then spit out an encoded version. Copy this to the clipboard without the quotation marks. Open /config/config.ldif with a text editor. Search for “Directory Manager” and replace the existing entry for userPassword.
Now just restart the OUD instance with the stop-ds and start-ds commands and you’re all set.