VMware vCenter Server Appliance 5.5 重置密码

VMware vCenter Server Appliance 5.5 重置密码

有段时间不用vCenter,结果密码试一遍都不对,很明显的密码忘记了。VMware vCenter Server Appliance 5.5 重置密码


下面是强制修改密码步骤!命令需要看好了!

VMware vCenter Server Appliance 5.5 重置密码

我的版本为5.5的!


VMware vCenter Server Appliance 5.5 重置密码

1、重启虚拟机


VMware vCenter Server Appliance 5.5 重置密码

2、重启过程中看见这个界面(用鼠标点击虚拟机屏幕),选中第一个选项;按"P"访问设备引导选项。


VMware vCenter Server Appliance 5.5 重置密码

3、默认 GRUB 密码为 vmware


VMware vCenter Server Appliance 5.5 重置密码

4、选中第一项,按“e”编辑引导命令。


VMware vCenter Server Appliance 5.5 重置密码

5、选中第二项,再按“e”编辑引导命令。


VMware vCenter Server Appliance 5.5 重置密码

6、末尾追加“ init=/bin/bash”(有空格),然后按回车键(Enter);将重新显示 GRUB 菜单。


VMware vCenter Server Appliance 5.5 重置密码

7、按“b”启动引导过程,系统引导到 Shell。


VMware vCenter Server Appliance 5.5 重置密码

8、执行命令“passwd root” 命令重置 root 密码(命令不是pass,也不是password)。


VMware vCenter Server Appliance 5.5 重置密码

9、输入新密码。(不能输入之前使用的密码)


VMware vCenter Server Appliance 5.5 重置密码

不然出现这些提示!


10、最后,设置新密码后,再输入“reboot”命令来重启虚拟机。

11、最后可以通过:https://192.168.1.1:5480来管理vCenter。(192.168.1.1改为你自己的vCenterIP地址)

VMware vCenter Server Appliance 5.5 重置密码


VM KB官网链接:https://kb.vmware.com/s/article/2069041