2024-06-26 15:26:24 +00:00
|
|
|
From 79519b922b59c2282223742327cc8d75c7b219d0 Mon Sep 17 00:00:00 2001
|
2022-12-14 21:35:52 +00:00
|
|
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
|
Date: Wed, 14 Dec 2022 22:24:53 +0100
|
2023-07-10 16:52:26 +00:00
|
|
|
Subject: [PATCH] fedora: use system-auth in pam systemd-user
|
2022-12-14 21:35:52 +00:00
|
|
|
|
2024-06-26 15:26:24 +00:00
|
|
|
Adjust upstream config to use our shared stack
|
|
|
|
|
|
|
|
rhel-only: feature
|
|
|
|
|
|
|
|
Related: RHEL-40924
|
2022-12-14 21:35:52 +00:00
|
|
|
---
|
|
|
|
src/login/systemd-user.in | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/login/systemd-user.in b/src/login/systemd-user.in
|
2023-07-10 16:52:26 +00:00
|
|
|
index 8a3c9e0165..74ef5f2552 100644
|
2022-12-14 21:35:52 +00:00
|
|
|
--- a/src/login/systemd-user.in
|
|
|
|
+++ b/src/login/systemd-user.in
|
|
|
|
@@ -7,7 +7,7 @@
|
|
|
|
-account sufficient pam_systemd_home.so
|
|
|
|
{% endif %}
|
|
|
|
account sufficient pam_unix.so no_pass_expiry
|
|
|
|
-account required pam_permit.so
|
|
|
|
+account include system-auth
|
|
|
|
|
|
|
|
{% if HAVE_SELINUX %}
|
|
|
|
session required pam_selinux.so close
|
2023-07-10 16:52:26 +00:00
|
|
|
@@ -20,4 +20,4 @@ session required pam_namespace.so
|
2022-12-14 21:35:52 +00:00
|
|
|
-session optional pam_systemd_home.so
|
|
|
|
{% endif %}
|
2023-07-10 16:52:26 +00:00
|
|
|
session optional pam_umask.so silent
|
2022-12-14 21:35:52 +00:00
|
|
|
-session optional pam_systemd.so
|
|
|
|
+session include system-auth
|