Welcome to the Linux Foundation Forum!

LAB 9.2 pam_tally2

k0dard
k0dard Posts: 68
edited February 3 in LFS216 Class Forum

Hello everyone,

I just want to signal, in case someone encounters the same problem as me, that pam_tally2 is deprecated and replaced with faillock.

Solution:

To solve this lab you need to add pam_faillock.so authfail deny=2 to pam configuration files.
You can use faillock to see failed login attempts
And faillock --user user1 --reset to unlock user1 account

Categories

Upcoming Training