Silvan Calarco
f86cc42e02
pam/sddm-autologin: fix arguments passed to pam_faillock.so [release 0.19.0-3mamba;Fri Apr 01 2022]
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
diff -ru sddm-0.18.1.orig/services/sddm.pam sddm-0.18.1/services/sddm.pam
|
|
--- sddm-0.18.1.orig/services/sddm.pam 2019-04-01 08:51:20.000000000 +0200
|
|
+++ sddm-0.18.1/services/sddm.pam 2020-10-15 20:23:28.591000000 +0200
|
|
@@ -1,15 +1,16 @@
|
|
#%PAM-1.0
|
|
|
|
-auth include system-login
|
|
+auth required pam_group.so
|
|
+auth include system-auth
|
|
-auth optional pam_gnome_keyring.so
|
|
-auth optional pam_kwallet5.so
|
|
|
|
-account include system-login
|
|
+account include system-auth
|
|
|
|
-password include system-login
|
|
+password include system-auth
|
|
-password optional pam_gnome_keyring.so use_authtok
|
|
|
|
session optional pam_keyinit.so force revoke
|
|
-session include system-login
|
|
+session include system-auth
|
|
-session optional pam_gnome_keyring.so auto_start
|
|
-session optional pam_kwallet5.so auto_start
|
|
--- sddm-0.19.0/services/sddm-autologin.pam.orig 2020-11-10 10:01:26.923000000 +0100
|
|
+++ sddm-0.19.0/services/sddm-autologin.pam 2020-11-10 10:03:03.797000000 +0100
|
|
@@ -1,13 +1,14 @@
|
|
#%PAM-1.0
|
|
auth required pam_env.so
|
|
-auth required pam_tally2.so file=/var/log/tallylog onerr=succeed
|
|
+auth required pam_group.so
|
|
+auth required pam_faillock.so preauth
|
|
auth required pam_shells.so
|
|
auth required pam_nologin.so
|
|
auth required pam_permit.so
|
|
-auth optional pam_gnome_keyring.so
|
|
-auth optional pam_kwallet5.so
|
|
-account include system-local-login
|
|
-password include system-local-login
|
|
-session include system-local-login
|
|
+account include system-auth
|
|
+password include system-auth
|
|
+session include system-auth
|
|
-session optional pam_gnome_keyring.so auto_start
|
|
-session optional pam_kwallet5.so auto_start
|