[vSphere]重置administrator账户口令

1 执行环境

VCSA 6.7
要求具有VCSA 的root账户口令

2 操作步骤

2.1 确认所属域

如果知道administrator用户所属域则可跳过此步骤。
进入VCSA控制台(快捷键 Alt + F1),使用root及其口令登录,并输入shell进入命令行。

执行如下命令:

root@vcenter [/]# /usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost
vsphere.local

2.2 重置账户

root@vcenter [/]# /usr/lib/vmware-vmdir/bin/vdcadmintool

===============
Please select:
0. exit
1. Test LDAP connectivity
2. Force start replication cycle
3. Reset account password
4. Set log level and mask
5. Set vmdir state
6. Get vmdir state
7. Get vmdir log level and mask
===============
3
  Please enter account UPN : [email protected]
New password is -
+=soeiDKQOFG!OSD0,se

===============
Please select:
0. exit
1. Test LDAP connectivity
2. Force start replication cycle
3. Reset account password
4. Set log level and mask
5. Set vmdir state
6. Get vmdir state
7. Get vmdir log level and mask
===============
0
root@vcenter [/]#

参考链接:https://www.geek-share.com/detail/2727603026.html

你可能感兴趣的:(#,虚拟技术,系统运维)