忘記VMware vcenter的[email protected]密碼的解決辦法
一、 重置密碼:
ssh [email protected]
Connecting to 192.168.230.100:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
VMware vCenter Server Appliance 6.7.0.44000
Type: vCenter Server with an embedded Platform Services Controller
WARNING! The remote SSH server rejected X11 forwarding request.
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
Command> shell #進入shell
Shell access is granted to root
root@photon-machine [ ~ ]# passwd #修改root密碼
New password:
Retype new password:
passwd: password updated successfully
root@photon-machine [ /usr/lib/vmware-vmdir/bin ]# ./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 : [email protected] #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 #退出
二、 修改密碼:
1、使用系統生產密碼登錄
2、修改密碼: