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