Reset vCenter Server Appliance 7.0 root password

Reset vCenter Server Appliance 7.0 root password

The following method provides steps to recover the root password of the vCenter Server Appliance (vCSA). This process is the same in vCenter 6.5, 6.7, and 7.0. This method is officially supported by VMware and documented in 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.

Guess you like

Origin blog.csdn.net/seaship/article/details/114577769