Since there is no option to reset the root password with VCSA running, we need to restart the VCSA in single-user mode. To do that, restart the VCSA, and when the PhotonOS logo is displayed, press e on your keyboard to edit the boot loader. Locate the line starting with linux, and at the end of the line add the following:
If you have just upgraded VMware VCSA to v7.0.1, but cannot log in, even though the root password is correct, you have probably locked the root user out. You can of course wait or you can proceed with the unlock procedure.
This article provides step-by-step instruction on how to break GRUB password on VMwre VCSA 6.x. Attach live Linux distro to the VCSA VM and boot the VM on the live Linux image. For the purpose of the manual, I use Knoppix v7.0.5. Continue reading “How to break GRUB password on VCSA 6.x”