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