您的位置:首页 > 编程语言 > Go语言

Changing a forgotten root password on an ESX host

2011-12-21 10:16 393 查看
This article provides steps to reset the root password of an ESX host.
Note: This article does not pertain to ESXi. Reinstalling is the only way to reset a root password on ESXi.

ESX 3.x and 4.x
1. Reboot the ESX host.
2. When the GRUB screen appears, press the space bar to stop the server from automatically booting into VMware ESX.
3. Use the arrow keys to select Service Console only (troubleshooting mode).
4. Press the a key to modify the kernel arguments (boot options).
5. On the line presented, type a space followed by the word single.
6. Press Enter. The server continues to boot into single-user mode.
7. When presented with a bash prompt such as sh-2.05b#, type the command passwd and press Enter.
8. Follow the prompts to set a new root user password.
9. When the password is changed successfully, reboot the host using the command reboot and allow VMware ESX to boot normally.

和Linux下操作差不多。
ESXi版本的话就要看这篇文章:http://plaway.blog.51cto.com/872211/253074
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: