SUSE Linux – Using ‘pam_tally2’ to reset user account due to failed logins

Due to repeated failed login attempts via SSH a user account may get locked out. The following provides steps on how to reset the account.


If this is the only account you have access via SSH you may need to open the VM console via ESXi/vCenter:


Displaying the number of failed attempts:

pam_tally2 -u username


Reset the account:

pam_tally2 -u mystic –reset


Sucessfull login attempt:


Leave a Reply

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

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

Google+ photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s