Pages

Monday, December 19, 2011

Reset Admin Password in ManageEngine Password Manager Pro

After a great weekend with IBM resold Netapp SAN issues we needed to login the Password Manager Pro with the local admin account. For what ever reason the password we thought it was didn't work so we needed to reset it. We couldn't have it email us the the password reset as email was down aswell. Like i said, fun times.

In the the long run we got everything back up but until then we did we didn't have access to our password vault. I felt this was my fault. I did manage to migrate the software to another host to attempt to get access to it with out corrupting our main install. I put in a request to ManageEngine but didn't get a response till Monday. Incase I or someone else is ever in that situation here is the method I recieved from ManageEngine to reset the local admin password.

WARNING: This method can be used the hack your backup or instance or Password Manager Pro; like all things if someone has access the the raw files or phyiscal access to your machine they have acccess to the data within.

  1. Copy the attached resetpasswd.txt in the \scripts directory and rename the file name as resetpasswd.bat
  2. Open the file  \conf\database_params.conf and note the MySQL password present in the file (call it 'mysqlpassword')
  3. Ensure that PMP Service is running
  4. Go the \scripts directory using command prompt
  5. Execute the script as resetpasswd.bat (For ex : resetpasswd.bat jzEAa12TVX )
  6. You can now login to the application using admin / admin (local authentication).

Here is the contents of the attached file "resetpasswd.txt" which is all one line.

..\mysql\bin\mysql.exe -u root --port=2345 --password=%1 passtrix -e "update AaaPassword set PASSWORD='Ok6/FqR5WtJY5UCLrnvjQQ==' , SALT=12345678,ALGORITHM='MD5' where PASSWORD_ID=1"

Good Luck and may you never need this.