Reset VCSA VMware vSphere vCenter 7 root password
How do you reset your root password for VMware vSphere vCenter 7 VCSA if it has expired on you?
This appears to be common as we all mainly use [email protected] to log in, so the root password isn’t used that much. I get it. you forgot to change it within the 90 days. Now what? Here is how to fix a forgotten root password on VCSA.
To reset the root password (Type in what is in the quotes without the quotes):
- Connect to the ESXi host on which the vCenter is running
- Reboot the vCenter
- In the console, press “E” to get a command prompt
- The GNU GRUB appears
- Add ” rw init=/bin/bash ” after the consoleblank=0
- Press F10
- Once rebooted you get the “root[ / ]” prompt
- type ” mount -o remount.rw / ”
- type ” passwd “
- Enter the new password twice
- A message that reads “password updated successfully” confirms change
- type ” umount / “
- type ” reboot -r “
That should do it!
Check us out on Youtube!