summaryrefslogtreecommitdiff
path: root/nonsystemd/sddm/pam-faillock.patch
blob: 91c44bb6622615d88984d46411f16d44965f1264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/services/sddm-autologin.pam b/services/sddm-autologin.pam
index 4c82048..b42991e 100755
--- a/services/sddm-autologin.pam
+++ b/services/sddm-autologin.pam
@@ -1,6 +1,6 @@
 #%PAM-1.0
 auth        required    pam_env.so
-auth        required    pam_tally2.so file=/var/log/tallylog onerr=succeed
+auth        required    pam_faillock.so preauth
 auth        required    pam_shells.so
 auth        required    pam_nologin.so
 auth        required    pam_permit.so