Due to repeated failed login attempts via SSH a user account may get locked out. The following provides steps on how to reset the VxRail Manager ‘mystic’ account (SUSE Linux).
If this is the only account you have access to via SSH then you may need to open the VM console via ESXi/vCenter and login as root user:
Displaying the number of failed attempts:
pam_tally2 -u username
Reset the account:
pam_tally2 -u mystic –reset
You can watch the increments if attempts are being made every 5 seconds:
watch -n 5 pam_tally2 -u mystic
Sucessfull login attempt:
Note: If you are prepared to wait the account should unlock after ~15 minutes.
If you see the error, “Authentication token lock busy,” type:
chmod -v 4711 /usr/bin/passwd
ls -alh /usr/bin/passwd
This solution did the job, we had a stretched cluster WLD creation and sadly it locked the mystic user for us.
Thanks for the feedback Wouter, glad it worked for you.