I believe the problem is here: auth sufficient pam_faillock.so authsucc
sufficient = "A failure of a sufficient module is ignored and processing of the PAM module stack continues unaffected." So if you want pam_faillock to be able to reject authentication attempts, it needs to be: auth required pam_faillock.so authsucc Now, I'm not sure why the manpage lists a configuration that doesn't really appear to work, and that doesn't explain why the configuration is working on debian... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966416 Title: pam_faillock does not actually deny login after given number of failures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1966416/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs