vSphere 6

vRealize Operations Manager Reset Admin password can’t login

Recently, in working with vRealize Operations Manager, I was prompted to change the admin password while logging into the console.  Using the prompts at the console of the vApp, I was able to successfully set the password.  However, after that point, access to the admin section and using the admin password no longer worked.  The password reset function with vRealize seems to be inherently flawed as the password reset from the console doesn’t flow through properly to the rest of the system.

Even after resetting the admin password once again manually after logging into the console as root still had no effect on the admin account being able to login to the admin link.  There are a few helpful commands that can help troubleshoot passwords in general with vRealize Operations Manager.

Password Troubleshooting in General

By default in vRealize Operations Manager, accounts are locked out after (3) successive incorrect password attempts.  You will then get a message that the account has been locked out.  To view the tally of incorrect successive logins and to reset those, use the following commands:

sudo pam_tally2 --user=root

To reset the bad password count:

sudo pam_tally2 --user=root --reset

However, for me the commands above still showed the count of bad attempts on my admin account to be (0).  Even after me attempting to login to the admin URL multiple times did not register with the count.  It seems there is a disconnect after the password reset.

If Root Password is locked

Just a quick interlude here, if you have a locked out root account, you will need to reboot your vRealize VM and enter the following boot option into your SUSE boot loader at the end of the line:

init=/bin/bash

Just hit the spacebar when the boot loader screen appears:

vrealize_pass01

Once the machine boots, you can then enter the command:

passwd

You will then enter your new password and confirm for root.

Back to the admin password:

In order to successfully change your admin password so that it populates throughout the rest of the system, use the command below to properly reset your admin account:

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

After you issue the command above, you will see your password is successfully reset and you should now be able to access the admin URL once again.

Back to top button