blob: 157f469f274e28dad2fb44d3ef1f0b4bce2a2f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#%PAM-1.0
# Block login if shell in nologin or false
auth required pam_succeed_if.so shell notin /sbin/nologin:/usr/sbin/nologin:/bin/false:/usr/bin/false
# Block login if they are globally disabled
auth required pam_nologin.so
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Allow access without authentication
auth required pam_permit.so
# Stop autologin if account requires action
account required pam_unix.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
session optional pam_systemd.so
|