[VMware] vRealize Operations Manager 6.x forgot root password or Device management admin password

<for Root>

step01.
reboot VM

step02.
boot loader iteme2 , boot options 最後面加入 " init=/bin/bash "

step03.
passwd // change root password

step04.
reboot VM.

Done.

<for Device management Admin>

PS: vRealize Operations Manager 密碼必須包含至少一個大寫字符、一個小寫字符、和一個特殊字符,新密碼還必須不同於前5個設置過的密碼。

step01.
pam_tally2 –user admin –reset // 開始重置管理員密碼之前,請通過運行以下命令確保該帳戶未鎖定

step02.
su root // 通过 SSH 或 控制台以 root 用户身份登录到主节点

step03.
passwd admin

step04.
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py –reset<for Device management Admin>

若在 vROM console admin 還是無法登入請試著
vi /storage/vcops/user/conf/adminuser.properties.
刪除 " failed_attempts=
再試著登入 local user “admin"


Reference:

1. 重置 VMware vRealize Operations Manager 设备中的管理员密码 (2078313)
2. Log in to the Admin or Product UI of VMware vRealize Operations Manager 6.x or later as admin fails with the error: Incorrect User name/Password (2131633)