How to reset a forgotten or lost Root password on VMware vSphere ESX 4

2010 August 12
by Paul McSharry

In the event the root password is unknown,  connect to the ESX host console and restart the machine.

1. When the ESX host boots to the grub menu, hit the “a” key.
2. Add the command  “single” to the string and click enter
3. Wait for ESX to go through the boot process
4. At the command prompt type “passwd.”
5. Enter your new password.
6. Restart the host ie.  shutdown -r now

This process is only used to reset a lost or forgotten password. 
A video demo of this process is shown on my virtualisation website http://www.elasticsky.co.uk/videos

One Response leave one →
  1. August 25, 2010

    Great blog! much appreciated.

    Sent from my iPhone 4G

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS