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.

pam_tally1

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

pam_tally2

Displaying the number of failed attempts:

pam_tally2 -u username

pam_tally3

Reset the account:

pam_tally2 -u mystic –reset

pam_tally5

Sucessfull login attempt:

pam_tally4

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 )

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