diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-11-03 20:21:30 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-11-03 21:05:58 -0400 |
commit | d8276475948e02cc91c2819e60638d50ca0e1804 (patch) | |
tree | 4e14993ff1a89a3f218d8d76fc2161ad8c7201b5 /sys-apps/systemd | |
parent | sys-apps/systemd: enable pam for non-native abis (diff) | |
download | gentoo-d8276475948e02cc91c2819e60638d50ca0e1804.tar.gz gentoo-d8276475948e02cc91c2819e60638d50ca0e1804.tar.bz2 gentoo-d8276475948e02cc91c2819e60638d50ca0e1804.zip |
sys-apps/systemd: pam adjustment
Package-Manager: portage-2.3.2_p3
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/files/232-systemd-user-pam.patch | 18 |
1 files 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 a6501ba41880..9c4b39109271 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 |