aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-pam/base-auth.pamd
blob: ea59ce9665251f1e68bb7dbed50b170f196fd114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# basic PAM configuration for Alpine.
auth	required	pam_env.so
auth	required	pam_unix.so	nullok_secure
auth	required	pam_nologin.so	successok

auth	sufficient	pam_unix.so	nullok try_first_pass

account	required	pam_nologin.so
account	sufficient	pam_unix.so

password	sufficient	pam_unix.so	nullok sha512 shadow try_first_pass try_authtok

-session	optional	pam_loginuid.so
-session	optional	pam_elogind.so
session	sufficient	pam_unix.so