VMware Skyline: VMware’s new proactive support technology; sign up here.
remount the root disk as r/w
mount -n -o remount,rw / PRESS ENTER
Then, do a passwd -u root to unlock root account.
To prevent the issue from reoccurring, modify the /etc/pam.d/common-auth with vi, the user will be locked after 3 attempts, and the unlock time is 300s
For vSphere Replication 8.X the naming is slightly different at /etc/pam.d/system-auth
It’s an example, but we can modify the parameters as below:
Deny=xxxx (if there’s 3 attempts, you can put 300)
root_unlock_time=1 , so it will be unlocked after 1 second
First you must activate the magic SysRq option:
echo 1 > /proc/sys/kernel/sysrq
When you are ready to reboot the machine simply run the following:
echo b > /proc/sysrq-trigger