summaryrefslogtreecommitdiff
path: root/sys-apps/systemd/files/233-systemd-user-pam.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-01-25 17:37:21 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-01-25 17:37:21 +0000
commit011dbc9d6821df057bf337438aaaefbff6b7612c (patch)
treef3bc445e402088bf99b6dbe1122e1db621bd4167 /sys-apps/systemd/files/233-systemd-user-pam.patch
parent8b1caee825d7881ebb89fd53014de58fd85e7cd2 (diff)
systemd security update : https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10156
Diffstat (limited to 'sys-apps/systemd/files/233-systemd-user-pam.patch')
-rw-r--r--sys-apps/systemd/files/233-systemd-user-pam.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/233-systemd-user-pam.patch b/sys-apps/systemd/files/233-systemd-user-pam.patch
new file mode 100644
index 00000000..eb2223e5
--- /dev/null
+++ b/sys-apps/systemd/files/233-systemd-user-pam.patch
@@ -0,0 +1,16 @@
+--- a/src/login/systemd-user.m4
++++ b/src/login/systemd-user.m4
+@@ -2,11 +2,7 @@
+ #
+ # Used by systemd --user instances.
+
+-account required pam_unix.so
+-m4_ifdef(`HAVE_SELINUX',
+-session required pam_selinux.so close
+-session required pam_selinux.so nottys open
+-)m4_dnl
+-session required pam_loginuid.so
++account include system-auth
++session include system-auth
+ session optional pam_keyinit.so force revoke
+ session optional pam_systemd.so