2014-03-28 15:11:49 +00:00
|
|
|
#%PAM-1.0
|
|
|
|
auth required pam_sepermit.so
|
|
|
|
auth substack password-auth
|
|
|
|
auth include postlogin
|
2014-07-10 07:33:34 +00:00
|
|
|
auth optional pam_reauthorize.so prepare
|
2015-10-07 14:51:25 +00:00
|
|
|
auth optional pam_ssh_add.so
|
2014-03-28 15:11:49 +00:00
|
|
|
account required pam_nologin.so
|
|
|
|
account include password-auth
|
|
|
|
password include password-auth
|
|
|
|
# pam_selinux.so close should be the first session rule
|
|
|
|
session required pam_selinux.so close
|
|
|
|
session required pam_loginuid.so
|
|
|
|
# pam_selinux.so open should only be followed by sessions to be executed in the user context
|
|
|
|
session required pam_selinux.so open env_params
|
|
|
|
session optional pam_keyinit.so force revoke
|
2014-07-10 07:33:34 +00:00
|
|
|
session optional pam_reauthorize.so prepare
|
2015-10-07 14:51:25 +00:00
|
|
|
session optional pam_ssh_add.so
|
2014-03-28 15:11:49 +00:00
|
|
|
session include password-auth
|
|
|
|
session include postlogin
|