diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-11-03 10:48:10 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-11-03 10:48:10 -0500 |
commit | 38ec013fbbf4b11185706d21fd079881f628f272 (patch) | |
tree | 0270096657f8dbc94dbfc54e75e5e30937ad5936 /sys-apps/systemd/files | |
parent | sys-apps/systemd: bump to 246.6 (diff) | |
download | gentoo-38ec013fbbf4b11185706d21fd079881f628f272.tar.gz gentoo-38ec013fbbf4b11185706d21fd079881f628f272.tar.bz2 gentoo-38ec013fbbf4b11185706d21fd079881f628f272.zip |
sys-apps/systemd: include system-auth in PAM config
Closes: https://bugs.gentoo.org/751199
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/systemd/files')
-rw-r--r-- | sys-apps/systemd/files/gentoo-pam.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/gentoo-pam.patch b/sys-apps/systemd/files/gentoo-pam.patch new file mode 100644 index 000000000000..4d022b508ba6 --- /dev/null +++ b/sys-apps/systemd/files/gentoo-pam.patch @@ -0,0 +1,33 @@ +From b744751e2ced66c2ec191e8bd490cb9bdffc630a Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Tue, 3 Nov 2020 10:42:51 -0500 +Subject: [PATCH] pam: include system-auth for systemd --user + +--- + src/login/systemd-user.m4 | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4 +index f6313f79fe..bcf84b4c64 100644 +--- a/src/login/systemd-user.m4 ++++ b/src/login/systemd-user.m4 +@@ -5,7 +5,7 @@ + m4_ifdef(`ENABLE_HOMED', + -account sufficient pam_systemd_home.so + )m4_dnl +-account sufficient pam_unix.so ++account include system-auth + account required pam_permit.so + + m4_ifdef(`HAVE_SELINUX', +@@ -13,6 +13,7 @@ session required pam_selinux.so close + session required pam_selinux.so nottys open + )m4_dnl + session required pam_loginuid.so ++session include system-auth + session optional pam_keyinit.so force revoke + m4_ifdef(`ENABLE_HOMED', + -session optional pam_systemd_home.so +-- +2.29.0 + |