Admin Password reset in OpM 12

Admin Password reset in OpM 12


For users that are authenticated with Active Directory Domain authentication, you can reset the password of an AD user by changing the AD password. The same is applicable for Radius Authenticated users.

Local Authenticated users can follow one of the two steps given below to reset the password:

Reset password for admin

  • If Mail Server Settings and User Email Id is configured, use Forgot Password option to reset your password.
  • If you are unable to configure your Mail Server settings, contact support to reset the password.

Forgot Password:

  • The Forgot Password option in the login page can be used to reset the password.
  • Make sure the Mail Server Settings and User's email ID are configured. The auto generated password will be sent to the email ID entered as the User's email ID
  • Go to the login page on OpManager. Click on the Forgot password button, enter your user name and press Send.
  • This will send an auto-generated password to the user's configured email.

Note: We highly recommend that you change the password upon logging in for the first time after resetting it.

Reset password for an Operator/Administrator by Administrator user

  • Login to OpManager using an account with admin privilege
  • Click Settings >> Basic Settings >> User Management tab
  • Under Change Password tab click on Assign New of the respective user
  • Update the new password and click on Save to save the changes.

For OpManager version below 123190, Follow the below steps to reset admin password

1. Open a command prompt

2. Go to the <OpManager_HOME>\pgsql\bin directory

3. Type
For Windows    :   psql -U postgres -p 13306 -h 127.0.0.1 -d OpManagerDB
For Linux        :   ./psql -U postgres -p 13306 -h 127.0.0.1 -d OpManagerDB

Please execute the below query :

select name,apikey from ApiKeyToUserMap inner join AAALogin on AAALogin.USER_ID=ApiKeyToUserMap.APIKEYID inner join ApiKey on ApiKey.APIKEYID=ApiKeyToUserMap.APIKEYID where name='admin';

4 . Copy the API Key from the output of the query.

5. Install the Google chrome Postman add-on.


6. Open a Google chrome browser and open Postman add-on and execute the below API command in POST method to reset the password.

For Example:

http://localhost:8080/api/json/nfaadmin/changePassword?apiKey=34b77304c502174eaf8b70b034254071&newPwd=admin&userName=admin

Localhost - Opmanager server IP:webserverport
API key - Copied from the command output
New Password- new password for admin user

                  New to ADSelfService Plus?