I am administering a Solaris 10 server that I have root password for but need to get to the system server console. The password has been 'forgotten'.
I've tried changing it in /var/opt/mps/serverroot/admin-serv/config/admpw and local.conf with the current hashed password in /etc/shadow for a user there. This was unsuccessful.
I've also tried /usr/sbin/mpsadmconfig -ser <server
ort> -u <having it read the admpw file for the current username and password > -setadminp <new password>
but I get an error message: Status = -1 Task -setadminpwd failed: null
Can someone suggest what I'm doing wrong or if there is a better/easier more effective way to do this? I need to copy over the LDAP files from this system to a new one being set up.
Thank you!
UPDATE: have found the plain text version of the password in /var/opt/mps/serverroot/admin-serv/config however, this password is not working as well.