summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-04 19:06:26 +0200
committerLennart Poettering <lennart@poettering.net>2020-01-28 22:36:41 +0100
commit26cf9fb7f833e7f18dc7c439a1da7027a241e2e6 (patch)
tree3a5891364c38359dad6cc6f108879ab3658a61cb /factory
parent4aa0a8ac3e548219d380a0c566242338eab185da (diff)
downloadsystemd-26cf9fb7f833e7f18dc7c439a1da7027a241e2e6.tar.gz
home: add pam_systemd_home.so PAM hookup
In a way fixes: https://bugs.freedesktop.org/show_bug.cgi?id=67474
Diffstat (limited to 'factory')
-rw-r--r--factory/etc/pam.d/system-auth26
1 files changed, 15 insertions, 11 deletions
diff --git a/factory/etc/pam.d/system-auth b/factory/etc/pam.d/system-auth
index 747efc1fbd..522c51324a 100644
--- a/factory/etc/pam.d/system-auth
+++ b/factory/etc/pam.d/system-auth
@@ -3,17 +3,21 @@
# You really want to adjust this to your local distribution. If you use this
# unmodified you are not building systems safely and securely.
-auth sufficient pam_unix.so nullok try_first_pass
-auth required pam_deny.so
+auth sufficient pam_unix.so
+-auth sufficient pam_systemd_home.so
+auth required pam_deny.so
-account required pam_nologin.so
-account sufficient pam_unix.so
-account required pam_permit.so
+account required pam_nologin.so
+-account sufficient pam_systemd_home.so
+account sufficient pam_unix.so
+account required pam_permit.so
-password sufficient pam_unix.so nullok sha512 shadow try_first_pass try_authtok
-password required pam_deny.so
+-password sufficient pam_systemd_home.so
+password sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
+password required pam_deny.so
--session optional pam_keyinit.so revoke
--session optional pam_loginuid.so
--session optional pam_systemd.so
-session sufficient pam_unix.so
+-session optional pam_keyinit.so revoke
+-session optional pam_loginuid.so
+-session optional pam_systemd_home.so
+-session optional pam_systemd.so
+session required pam_unix.so