cbc4cf
#%PAM-1.0
cbc4cf
auth       substack     password-auth
cbc4cf
auth       include      postlogin
cbc4cf
account    required     pam_nologin.so
cbc4cf
account    include      password-auth
cbc4cf
password   include      password-auth
cbc4cf
# pam_selinux.so close should be the first session rule
cbc4cf
session    required     pam_selinux.so close
cbc4cf
session    required     pam_loginuid.so
cbc4cf
# pam_selinux.so open should only be followed by sessions to be executed in the user context
cbc4cf
session    required     pam_selinux.so open
cbc4cf
session    required     pam_namespace.so
cbc4cf
session    optional     pam_keyinit.so force revoke
cbc4cf
session    include      password-auth
cbc4cf
session    include      postlogin