Search the VMware Knowledge Base (KB)
View by Article ID

Resetting the Administrator password in vRealize Operations Manager 5.x and 6.x (2078313)

  • 43 Ratings
Language Editions

Details

This article provides steps to reset the admin user password in the vRealize Operations Manager appliance.

You may want to reset the administrator password:
  • If you forget the administrator password and you cannot access the Administration portal to apply global settings to vRealize Operations.
  • When logging in to the web-admin portal fails with the error:

    General error occurred

Note: Your Administrator password may expire after 365 days (New password policy from 5.8).

Solution

Note: Before resetting the Administrator password, ensure that the account is not locked out by running this command:

pam_tally2 --user admin

If the account is locked out, unlock it by running this command:

pam_tally2 --user admin --reset


To reset the Administrator password in the vRealize Operations Manager 5.x vApp:
 
  1. In the vSphere Client Inventory view, select the vRealize Operations vApp and navigate to the appliance console.
  2. Log in to UI VM as the root user.
  3. In the localhost directory, type cd /usr/lib/vmware-vcops/user/conf/install and press Enter.
  4. In the install directory, run the./resetadminpwd.sh new_password command and press Enter.  For example: 

    ./resetadminpwd.sh "P\@ssw0rd"

    Note: vRealize Operations Manager passwords must contain at least one upper case, one lower case, one digit, and one special character. When setting your new password, ensure that you escape the special characters by adding a leading backslash and also add the backslash when you log in. For example: P\@ssw0rd.

  5. Type logout and press Enter to return to the main menu.

    Note: Steps 1-5 will also reset the same password on Analytic virtual machines automatically.


To reset the Administrator password in the vRealize Operations Manager 6.x (vApp)
:

For vApp/Linux:

  1. Log in to the master node command line console as root.
  2. Run this command and follow the prompts:

    $VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py --reset

For Windows:

  1. Open the command prompt using the Run as Administrator option.
  2. Run this command and follow the prompts:

    %VMWARE_PYTHON_BIN% %VCOPS_BASE%\..\vmware-vcopssuite\utilities\sliceConfiguration\bin\vcopsSetAdminPassword.py --reset

Additional Information

For translated versions of this article, see:

Keywords

Admin Password

This Article Replaces

2001483

Update History

2014/06/18 - Updated the solutions. 08/28/2014 - Added Note and updated step 4 command under the Solution section.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 43 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 43 Ratings
Actions
KB: