mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
971c07fc68
This was a copy/paste mistae apparently, there's not "try_authtok" and this was supposed to copy what Fedora uses, which uses "use_authtok" correctly. Hence adjust this. Fixes: #19369
24 lines
767 B
Plaintext
24 lines
767 B
Plaintext
# 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
|
|
-auth sufficient pam_systemd_home.so
|
|
auth required pam_deny.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_systemd_home.so
|
|
password sufficient pam_unix.so sha512 shadow try_first_pass use_authtok
|
|
password required pam_deny.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
|