Merge pull request #13038 from poettering/pam-fixes

tmpfiles factory PAM tweaks
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-07-16 17:09:29 +02:00 committed by GitHub
commit a483dc92c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,19 @@
# This file is part of systemd.
# 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
account required pam_nologin.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
-session optional pam_keyinit.so revoke
-session optional pam_loginuid.so
-session optional pam_systemd.so
session sufficient pam_unix.so