重置vCenter Server Appliance 7.0根密码

重置vCenter Server Appliance 7.0根密码

以下方法提供了恢复vCenter Server Appliance(vCSA)根密码的步骤。此过程在vCenter 6.5、6.7和7.0中相同。该方法由VMware正式支持,并记录在KB2147144中。

拍摄vCSA快照,以便在密码恢复期间出现任何问题时可以回滚。
连接到运行vCSA的ESXi主机,然后打开一个远程控制台。
重新启动vCSA
系统启动后立即按e(出现“光子”屏幕时)

将 rw init = / bin / bash附加到以Linux开头的行**

**
按F10启动
在命令提示符下,输入passwd, 然后输入两次新的root密码。
输入umount / 卸载根文件系统
通过运行命令reboot -f重新引导vCSA。
验证您可以使用新的root密码登录并删除在步骤1中创建的快照。

Author: Akide Liu
Link: https://new.llycloud.com/2020/07/15/vCenter-Server-7-0-Tips-and-Tricks/#%E5%AF%86%E7%A0%81%E8%BF%87%E6%9C%9F
Source: LLYCloud VCTSC
Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

猜你喜欢

转载自blog.csdn.net/seaship/article/details/114577769