Merge pull request #15735 from poettering/pam-snippet-update

Slightly update our shipped and suggested PAM snippets, so that pam_systemd_home.so is more likely to just work
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-05-06 22:45:29 +02:00
committed by GitHub
3 changed files with 28 additions and 15 deletions
+9 -1
View File
@@ -2,11 +2,19 @@
#
# Used by systemd --user instances.
account required pam_unix.so
m4_ifdef(`ENABLE_HOMED',
-account sufficient pam_systemd_home.so
)m4_dnl
account sufficient pam_unix.so
account required pam_permit.so
m4_ifdef(`HAVE_SELINUX',
session required pam_selinux.so close
session required pam_selinux.so nottys open
)m4_dnl
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
m4_ifdef(`ENABLE_HOMED',
-session optional pam_systemd_home.so
)m4_dnl
session optional pam_systemd.so