Did you know that you can navigate the posts by swiping left and right?

Unlock accounts in pam or faillock

05 Feb 2017 . category: linux . Comments
#linux #security

Using PAM

Check the account for failed login attempts

pam_tally2 --user=<user>

Reset the account to 0 failed attempts

pam_tally2 --user=<user> --reset

Verify there are no failed attempts

pam_tally2 --user=<user>


Using faillock

Check the account for failed login attempts

faillock --user <user name>

Reset the account to 0 failed attempts

faillock --user <user name> --reset

Verify there are no failed attempts

faillock --user <user name>



Me

Jeremy Miller is an awesome person. He lives in the Midwest, where he works in Linux Administration. In his spare time, Jeremy likes to develop.