f2f90a
From c4b803dc60b63a35c977d39610b7872175ec03bd Mon Sep 17 00:00:00 2001
09f814
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
09f814
Date: Wed, 14 Dec 2022 22:24:53 +0100
f2f90a
Subject: [PATCH] fedora: use system-auth in pam systemd-user
09f814
09f814
---
09f814
 src/login/systemd-user.in | 4 ++--
09f814
 1 file changed, 2 insertions(+), 2 deletions(-)
09f814
09f814
diff --git a/src/login/systemd-user.in b/src/login/systemd-user.in
f2f90a
index 8a3c9e0165..74ef5f2552 100644
09f814
--- a/src/login/systemd-user.in
09f814
+++ b/src/login/systemd-user.in
09f814
@@ -7,7 +7,7 @@
09f814
 -account sufficient pam_systemd_home.so
09f814
 {% endif %}
09f814
 account  sufficient pam_unix.so no_pass_expiry
09f814
-account  required   pam_permit.so
09f814
+account  include    system-auth
09f814
 
09f814
 {% if HAVE_SELINUX %}
09f814
 session  required   pam_selinux.so close
f2f90a
@@ -20,4 +20,4 @@ session  required   pam_namespace.so
09f814
 -session optional   pam_systemd_home.so
09f814
 {% endif %}
f2f90a
 session  optional   pam_umask.so silent
09f814
-session  optional   pam_systemd.so
09f814
+session  include    system-auth
09f814
-- 
f2f90a
2.41.0
09f814