commit:     d8276475948e02cc91c2819e60638d50ca0e1804
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 00:21:30 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 01:05:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8276475

sys-apps/systemd: pam adjustment

Package-Manager: portage-2.3.2_p3

 sys-apps/systemd/files/232-systemd-user-pam.patch | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/sys-apps/systemd/files/232-systemd-user-pam.patch 
b/sys-apps/systemd/files/232-systemd-user-pam.patch
index a6501ba..9c4b391 100644
--- a/sys-apps/systemd/files/232-systemd-user-pam.patch
+++ b/sys-apps/systemd/files/232-systemd-user-pam.patch
@@ -1,8 +1,16 @@
 --- a/src/login/systemd-user.m4
 +++ b/src/login/systemd-user.m4
-@@ -9,4 +9,5 @@
- session  required pam_selinux.so nottys open
- )m4_dnl
- session  required pam_loginuid.so
-+session required pam_limits.so
+@@ -2,11 +2,7 @@
+ #
+ # Used by systemd --user instances.
+ 
+-account required pam_unix.so
++account include system-services
+ 
+-m4_ifdef(`HAVE_SELINUX',
+-session  required pam_selinux.so close
+-session  required pam_selinux.so nottys open
+-)m4_dnl
+-session  required pam_loginuid.so
++session include system-services
  session optional pam_systemd.so

Reply via email to