new1234.jpg

Archive

Posts Tagged ‘GRUB’

VMware: How to reset the lost or forgotten root password in vCenter Server Appliance 6.5

October 16th, 2017 No comments

To reset the lost forgotten root password in vCenter Server Appliance 6.5:

  1. Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. (Do not skip this step.)
  2. Reboot the vCenter Server Appliance 6.5.
  3. After the OS starts, loading the Photon splash press e key to enter the GNU GRUB Edit Menu.
  4. Locate the line that begins with the word Linux.
  5. Append these entries to the end of the line:rw init=/bin/bash

    The line should look like the following screenshot:

Image result for How to reset the lost or forgotten root password in vCenter Server Appliance 6.5

 

  • Press F10 to continue booting.
  • In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):

    passwd
  • 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

sanderdaems

Sander Daems is founder and author of this blog and working as a Sr. Infrastructure Consultant by IT-Value. Sander has over 10 years experience in IT, primary focus: virtualization, storage and SBC

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , , , , ,