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).

pam_tally1

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:

pam_tally2

Displaying the number of failed attempts:

pam_tally2 -u username

pam_tally3

Reset the account:

pam_tally2 -u mystic –reset

pam_tally5

You can watch the increments if attempts are being made every 5 seconds:

watch -n 5 pam_tally2 -u mystic

Sucessfull login attempt:

pam_tally4

Note: If you are prepared to wait the account should unlock after ~15 minutes.

pam_tally6

If you see the error, “Authentication token lock busy,”  type:    

chmod -v 4711 /usr/bin/passwd

Confirm:

ls -alh /usr/bin/passwd

2 Comments »

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s