<img src="//bat.bing.com/action/0?ti=5794969&amp;Ver=2" height="0" width="0" style="display:none; visibility: hidden;">

ESX 3.5 Server Lost Root Password Reset

[fa icon="long-arrow-left"] Back to all posts

[fa icon="pencil'] Posted by Lewan Solutions [fa icon="calendar"] January 6, 2009

Just like any other Administrator or Root password, if you forget or lose the Root password of an ESX server, it could be a difficult situation. This section describes how to reset your ESX root password.

Reboot ESX Server and Interrupt GRUB Boot

media-1231190784837.png

In order to reset your root password for an ESX server, you will need to reboot the ESX server and then interrupt the boot up during the GRUB screen. Once you boot up and reach the GRUB screen, Type in: a
This will temporarily modify the boot up parameters.

Interrupted GRUB Screen

media-1231190825682.png

Once you press the "a" button in the previous step, you will see a screen like the one shown in the screenshot.

Entering Single User Mode

media-1231190842590.png

Now type in: single and press enter. This will boot up the ESX service console into "Single User" mode which has the full Service Console functionality but does not load the VMKernel.

Root Prompt When In Single User Mode

media-1231190906541.png

The service console will boot into single user mode and then will show a root shell prompt.

Entering New Root Password

media-1231190936569.png

At the root shell prompt, type in: passwd
This will change the root password to whatever you type in next under "New Unix Password".

Verify New Root Password

media-1231190967048.png

Verify the new password by typing it again. If you get the message "Bad Password: it is based on a dictionary word", you can either ignore it or select a more complicated root password.

New Root Password Sucessful

media-1231190991396.png

You have now changed the root password.

Reboot ESX Server

media-1231191021916.png

Now, reboot the ESX server so that it will go through a normal startup and start the VMKernel. You can do this by typing in: shutdown -r now and press enter.

Reboot Will Begin

media-1231191130141.png

Once you issue the previous command, ESX will now begin the reboot cycle. Once it is rebooted, you can use your new root password for administration.

Topics: VMware, How To Guide

Lewan Solutions
Written by Lewan Solutions

  • View & Submit Comments

[fa icon="envelope"] Subscribe to Email Updates



[fa icon="comments-o"] Follow us

Get even more great content, photos, event info and industry news.



[fa icon="calendar"] Recent Posts