security-misc/usr/share/pam-configs/faillock2-security-misc
Patrick Schleizer be8c10496f
fix faillock implementation
dovecot / ssh are exempted
2021-09-01 15:55:53 -04:00

9 lines
333 B
Plaintext

Name: lock accounts after 50 failed authentication attempts (part 2) (by package security-misc)
Default: yes
Priority: 245
Auth-Type: Primary
Auth:
[success=2 default=ignore] pam_exec.so seteuid quiet /usr/libexec/security-misc/pam_faillock_not_if_x
[default=die] pam_faillock.so authfail
sufficient pam_faillock.so authsucc