Do not use patch to modify systemd-user pam config file

We still want the Fedora systemd-user pam config when building with
--noprep so let's install the pam config file using a regular source
instead of patching the one provided by systemd.
This commit is contained in:
Daan De Meyer 2024-08-28 10:23:54 +02:00
commit abb115a905
3 changed files with 18 additions and 34 deletions

14
systemd-user Normal file
View file

@ -0,0 +1,14 @@
# Used by systemd --user instances.
-account sufficient pam_systemd_home.so
account sufficient pam_unix.so no_pass_expiry
account include system-auth
session required pam_selinux.so close
session required pam_selinux.so nottys open
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session required pam_namespace.so
-session optional pam_systemd_home.so
session optional pam_umask.so silent
session include system-auth