openssh/sshd.pam

21 lines
904 B
Plaintext
Raw Permalink Normal View History

#%PAM-1.0
auth required pam_sepermit.so
2011-07-14 13:15:29 +00:00
auth substack password-auth
2011-07-14 11:46:20 +00:00
auth include postlogin
# Used with polkit to reauthorize users in remote sessions
-auth optional pam_reauthorize.so prepare
account required pam_nologin.so
2009-09-16 08:12:30 +00:00
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 required pam_namespace.so
session optional pam_keyinit.so force revoke
2009-09-16 08:12:30 +00:00
session include password-auth
2011-07-14 11:46:20 +00:00
session include postlogin
# Used with polkit to reauthorize users in remote sessions
-session optional pam_reauthorize.so prepare