summaryrefslogtreecommitdiff
path: root/user/sddm/pam-path-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-22 16:10:48 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-22 16:10:48 -0500
commit8fc7e5f8a3e2cb541250f5d0bb8783eb59a13fb1 (patch)
treed0576f51707999fc8009111356e743ce05b89f07 /user/sddm/pam-path-fix.patch
parent62f5d63b980c7902d5001010df9f6df58c7bff60 (diff)
downloadpackages-8fc7e5f8a3e2cb541250f5d0bb8783eb59a13fb1.tar.gz
packages-8fc7e5f8a3e2cb541250f5d0bb8783eb59a13fb1.tar.bz2
packages-8fc7e5f8a3e2cb541250f5d0bb8783eb59a13fb1.tar.xz
packages-8fc7e5f8a3e2cb541250f5d0bb8783eb59a13fb1.zip
user/sddm: do *not* use SUID, fix PAM instead
Diffstat (limited to 'user/sddm/pam-path-fix.patch')
-rw-r--r--user/sddm/pam-path-fix.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/sddm/pam-path-fix.patch b/user/sddm/pam-path-fix.patch
new file mode 100644
index 000000000..3d589bac2
--- /dev/null
+++ b/user/sddm/pam-path-fix.patch
@@ -0,0 +1,36 @@
+--- sddm-0.16.0/services/sddm-autologin.pam.old 2017-10-03 00:43:19.000000000 -0500
++++ sddm-0.16.0/services/sddm-autologin.pam 2017-10-22 16:09:27.582687306 -0500
+@@ -6,8 +6,8 @@
+ 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 base-account
++password include base-password
++session include base-session
+ -session optional pam_gnome_keyring.so auto_start
+ -session optional pam_kwallet5.so auto_start
+--- sddm-0.16.0/services/sddm.pam.old 2017-10-03 00:43:19.000000000 -0500
++++ sddm-0.16.0/services/sddm.pam 2017-10-22 16:08:55.012773018 -0500
+@@ -1,15 +1,15 @@
+ #%PAM-1.0
+
+-auth include system-login
++auth include base-auth
+ -auth optional pam_gnome_keyring.so
+ -auth optional pam_kwallet5.so
+
+-account include system-login
++account include base-account
+
+-password include system-login
++password include base-password
+ -password optional pam_gnome_keyring.so use_authtok
+
+ session optional pam_keyinit.so force revoke
+-session include system-login
++session include base-session
+ -session optional pam_gnome_keyring.so auto_start
+ -session optional pam_kwallet5.so auto_start