vRealize Operations Manager 6.0 – root account locked

the vRealize Operations Manager 6.0 server had been locked out in one of our customer environment and the reason was that he forgot the password and he tried to login several times .

This is the process we used to unlock the root account.

Open up a console session to the VM

Press Alt + F1 and try to login as root

vROps-root-account-02png

 

You can see by the screenshot above that someone has tried many unsuccessful attempts to access the root account and subsequently it has been locked by the operating system.

Reboot the virtual machine

choose the 2nd line and use the following string

init=/bin/bash

vROps-root-account-05

Now hit Enter, and the machine will now boot into a bash shell

vROps-root-account-06

Run the following command to unlock the root account

pam_tally2 –user=root –reset

If it works, you should see something similar to the following screenshot.

vROps-root-account-07

but you still need to change your passw0rd because you forget it therefore use this command to reset it

passwd

and Now you can change the root password and restart your VM and try login again.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s