14 lines
677 B
Plaintext
14 lines
677 B
Plaintext
#%PAM-1.0
|
|
# Bananarchy: Alpine ships two sshd binaries. The postmarketOS policy
|
|
# drop-in (50-postmarketos-ui-policy.conf) sets "UsePAM yes", which makes
|
|
# /etc/init.d/sshd pick /usr/sbin/sshd.pam + /usr/lib/ssh/sshd-auth.pam.
|
|
# Without this service file Linux-PAM falls back to a nonexistent
|
|
# /etc/pam.d/other and pam_start() aborts: password, keyboard-interactive
|
|
# and even the account check for public-key logins all fail. Keep the stack
|
|
# minimal so it works with or without elogind running.
|
|
auth required pam_unix.so
|
|
account required pam_unix.so
|
|
password required pam_unix.so
|
|
session optional pam_env.so
|
|
session required pam_unix.so
|