summaryrefslogtreecommitdiff
path: root/sys-apps/systemd/files/233-systemd-user-pam.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-07-18 04:02:57 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-07-18 04:02:57 +0300
commitc76773e77552f17db546e1f9af2533f7b2f76c59 (patch)
tree149bd3f3aa54f2b3f5f86994c4f1c4ed6fe1c171 /sys-apps/systemd/files/233-systemd-user-pam.patch
parent1c5443df7fcd11b6b034b56fc27f798797e83954 (diff)
meson eclass with locale hack for paludis
systemd-scm with modified meson eclass
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 0000000..eb2223e
--- /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