Does this picture remind you a painfull moment?!
Losing/Locking the root password of a VMware appliance is not cool… No access to SSH and VAMI interface (5480). vRealize Automation root password expires automatically after 365 days, and most of the time, admins are not aware of it. In vRealize Business, the root password does not expires but if somehow you don’t remember it, you can use this procedure:
- Connect to vSphere Client and open the vRealize Business virtual machine console:
- Restart the appliance: VM > Power > Restart Guest
- Wait for the virtual machine to reboot
- Press « e » when you see the Grub Menu appearing on the screen
- Press « e » again
- Go down until you see a line beginning with « linux /vmlinuz » and at the end if this line add the followning command: init=/bin/sh
- Press « F10 » to reboot. After the reboot you will see the following prompt:
- Type the command « passwrd » to reset the root password:
- On some appliance you will get this kind of error due to the file system mounted in read only, in this case, type the following command and try again: « mount / -o remount,rw »
- After a reboot you will finally be able to access the VAMI interface with the new password you just set
Hope this will help!
Share this article if you liked it and don’t hesite to leave a comment if you want to do that on other VMware product. Cheers!