How to reset the root password in vRealize Operations 8.X

This article provides steps to reset the virtual appliance root password in vRealize Operations, and the Application Remote Collector appliance.

In vRealize Operations, when you log in to the console of the virtual application for the first time, you are forced to set a root password.

The vRealize Operations console root password can be different than the admin account password that you set when configuring the vRealize Operations master node.


Shutdown your vRealize Operation 8.x Cluster

Log into the vRealize Operations admin UI as the local admin user. 

Select the desired node and click Take Node Offline/Online.

Note: If using a single node cluster, click Take Offline under Cluster Status.




Please provide the Reason for the Shutdown, mark the show reason button and click OK.



Verify that you VROPS Cluster is offline



Restart the vRealize Operation 8.X to Single User Mode


In the vSphere Client, open the console of the desired node VROPS03

With the console open, restart or power on the virtual machine



If you cannot reach the boot menu before it disappears, enable Force BIOS setup in the Virtual Machine’s Settings > VM Options > Boot Options and reboot.



When the GRUB loader menu appears, immediately use the up and down arrow keys to navigate to the end of the line that starts with Photon OS or linux for new 8.x deployments.


Type the letter e to go to the GNU GRUB edit menu.



Add a space, then type rw init=/bin/bash which adds another option to the line.



Press F10 or Ctrl-X if you are using MACOS like me



Reset the Root Password after boot


after Boot you will see the Prompt of Single User Mode that will enable you to reset the root password.


Type passwd root and follow the prompts to create a new root password.

Note: If the above command fails, try running sudo passwd root instead.


sync and press Enter to flush the data to disk

umount / and press Enter


reboot -f and press Enter


Log into the vRealize Operations admin UI as the local admin user.

Select the desired node and click Take Node Offline/Online.

Note: If using a single node cluster, click Bring Online under Cluster Status.


check if the root account is locked

Note: Running the passwd command from the steps above will unlock the root account.

  • Type passwd -S root to determine if the root account is locked.

Note: If the account is not locked, you will see PS next to the username.  If the account is locked, you will see LK next to the username.

ExampleUnlocked: root PS 01/24/2019 0 365 7 -1
Locked: root LK 01/24/2019 0 365 7 -1


Base on KB Article : https://kb.vmware.com/s/article/2001476

Leave a Reply

Your email address will not be published. Required fields are marked *