vCenter: How to reset root password on vCenter Server Appliance 6.5

Use the following step by step guide to reset the lost or forgotten root password in vCenter Server Appliance 6.5:

  • Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. (Do not skip this step.)
  • Reboot the vCenter Server Appliance 6.5.
  • After the OS starts, loading the Photon splash press e key to enter the GNU GRUB Edit Menu.
  • Locate the line that begins with the word Linux.
    Append these entries to the end of the line as per screenshot below:
rw init=/bin/bash
  • Press F10 to continue booting.
  • In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):
  • Unmount the filesystem by running this command:
umount /
  • Reboot the vCenter Server Appliance 6.5 by running this command:
reboot -f 
  • Confirm that you can access the vCenter Server Appliance 6.5 using the new root password.
  • Remove the snapshot taken in Step 1 if applicable.

More information: VMware

Check Also

VMware vCenter 5 Installation Guide

VMware vCenter Server is "THE" management system for your VMware vSphere private cloud It's used to manage your clusters of ESXi servers, configure HA, DRS and vMotion, manage your virtual networks and their interfaces to the physical network.

Leave a Reply