I have lost the root password of my vCenter Server Appliance-How do I reset it?

Staff Writer/ June 11, 2021/ Batting for Tech in the Covid-19 Times, Best practices for data center operations, Data center facilities, Data Center Hardware, How do i...?, How-Tos and Other Useful Tips and Tricks, Tekmart Enterprise Hardware Tips, Tekmart Support: Storage Systems' Implementation Tutorials

Reading Time-approximately: < 1 minute

This is a simple guide on how to reset the vCenter Server Appliance root password if you don’t have it or you acquire second-use data center equipment with the password set on them already.

By Tekmart Enterprise Support Team

Follow the below steps to reset the unit:-

  1. Take a snapshot of the vCenter Server Appliance.
  2. Open the VMware Remote Console
  3. Reboot the vCenter VM and when VCSA Photon OS starts, press e key to enter the GNU GRUB Menu.
  4. Append following value to the end of the linux line  “rw init=/bin/bash“
    See screenshot below…
  5. F10 to continue the boot
  6. Run following commands to change the password:
    # mount -o remount,rw /
    # passwd
    # umount /
    # reboot -f
  7. Done ! You’re good to go.

To properly we assume that you have basic proficiency in executing different Linux commands.

Share this Post