34 lines
974 B
Diff
34 lines
974 B
Diff
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
|
|
|