Note:
In some cases a defective keyboard can cause problems logging into an
ESX host. You might want to test with a different physical keyboard
if you are having difficulties with known login credentials.
If you have forgotten or do not know
the password for the root user on an ESX host, you may be able to
change it without reinstalling.
Warning: This can be
used maliciously and should be safeguarded against through proper
physical access to the host, authenticated remote console access,
monitoring and protection against reboot procedures (e.g. grub password)
and limited access to the management network.
For more information on security best practices, see http://www.vmware.com/resources/techresources/726.
1. Shutdown and Reboot your VMware ESX Server
If you don't know the VMware ESX Server root password, you don't know any passwords for root-equivalent accounts, and your virtual center server also does not have it cached, the only way to change the root user password is to first shutdown / power off your VMware ESX Server.2. Press "a" to modify the kernel arguments
As soon as you see the GRUB boot screen, press "a" to modify the kernel arguments, like this:
3. Enter single user mode
At the end of the kernel arguments command line, type "single" and press Enter, like this:
4. Change the root password
Now, change the root password using the passwd command, like this:
5. Reboot the ESX Server
Once you have reset the root password, reboot the server to go back into multi-user mode.
6. Verify the new password
Once the system reboots, verify that the new root password works, like this:
Comments
Post a Comment