sddm/sddm-0.18.1-openmamba-pam.patch

47 lines
1.8 KiB
Diff
Raw Permalink Normal View History

diff -ru sddm-0.18.1.orig/services/sddm-autologin.pam sddm-0.18.1/services/sddm-autologin.pam
--- sddm-0.18.1.orig/services/sddm-autologin.pam 2019-04-01 08:51:20.000000000 +0200
+++ sddm-0.18.1/services/sddm-autologin.pam 2020-10-15 20:24:25.497000000 +0200
@@ -1,13 +1,14 @@
#%PAM-1.0
auth required pam_env.so
-auth required pam_tally.so file=/var/log/faillog onerr=succeed
+auth required pam_group.so
+auth required pam_faillock.so file=/var/log/faillog onerr=succeed
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
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