ESX Server 3.x:
- Reboot the ESX Server host.
- When the GRUB screen appears, press the space bar to stop the server from automatically booting into VMware ESX Server.
- Use the arrow keys to select Service Console only (troubleshooting mode).
- Press the a key to modify the kernel arguments (boot options).
- On the line presented, type a space followed by the word single.
- Press Enter. The server continues to boot into single-user mode.
- When presented with a bash prompt such as sh-2.05b#, type the command passwd and press Enter.
- Follow the prompts to set a new root user password.
- When the password is changed successfully, reboot the host using the command reboot and allow VMware ESX Server to boot normally.
ESX Server 2.x:
- Reboot the ESX Server Host.
- When the LILO screen appears hit the space bar to stop the server from automatically booting into VMware ESX Server.
- At the LILO prompt select "linux" adding the -s to the end of the line, it should read: linux -s
- Press Enter. The system begins to boot. The server continues to boot into single-user mode.
- When presented with a bash prompt such as sh-2.05b#, type the command passwd and press Enter.
- Follow the prompts to set a new root user password.
When the system is finished booting up, you can log in as the root user using the new password. When the password is changed successfully, reboot the host using the command reboot and allow VMware ESX Server to boot normally.
ESX Server 3.5:
A lost Root password cannot be recovered, however it can be reset. The process below outlines how to do this.
Power on the host server. When the ESX bootloader selection screen appears, press a to allow you to modify kernel arguments
Once the host server has booted, you will be presented with a prompt such as sh-2.05b#. At the prompt enter the command passwd and press enter
Enter the new Root password. Retype the new password at the prompt. Once changed successfully the all authentication tokens updated successfully message will appear
Reboot the host server by typing reboot at the prompt and pressing enter
Source
No comments:
Post a Comment