Loading...

忘记VCSA的root密码和administrator@vsphere.local密码

虚拟化2年前 (2023)更新 刘丰源
231 0 0

忘记root密码

可以找到vCenter所在的主机打开vCenter的控制台,开启shell或者ssh

Command> shell #进入shell
Shell access is granted to root
root@photon-machine [ ~ ]# passwd #修改root密码
New password:
Retype new password:
passwd: password updated successfully

忘记vCenter的administrator@vsphere.loca(SSO)密码

root@photon-machine# cd /usr/lib/vmware-vmdir/bin
root@photon-machine# ./vdcadmintool
==================
Please select:

exit
Test LDAP connectivity
Force start replication cycle
Reset account password
Set log level and mask
Set vmdir state
Get vmdir state
Get vmdir log level and mask
3 #选择3重置密码
Please enter account UPN : administrator@vsphere.local #administrator域名
New password is -
i'dH/yDt+ZU\6RNT~; #系统生成的密码

==================
==================
Please select:

exit
Test LDAP connectivity
Force start replication cycle
Reset account password
Set log level and mask
Set vmdir state
Get vmdir state
Get vmdir log level and mask
0 #退出

登陆vCenter,修改密码为自己的密码即可。
忘记VCSA的root密码和administrator@vsphere.local密码
忘记VCSA的root密码和administrator@vsphere.local密码

© 版权声明

相关文章

暂无评论

暂无评论...