2008-04-07 20:14:31 +00:00
|
|
|
#%PAM-1.0
|
2009-01-15 10:52:07 +00:00
|
|
|
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
|
2014-07-03 11:58:57 +00:00
|
|
|
# Used with polkit to reauthorize users in remote sessions
|
|
|
|
-auth optional pam_reauthorize.so prepare
|
2008-04-07 20:14:31 +00:00
|
|
|
account required pam_nologin.so
|
2009-09-16 08:12:30 +00:00
|
|
|
account include password-auth
|
|
|
|
password include password-auth
|
2008-05-19 16:53:29 +00:00
|
|
|
# pam_selinux.so close should be the first session rule
|
|
|
|
session required pam_selinux.so close
|
2008-04-07 20:14:31 +00:00
|
|
|
session required pam_loginuid.so
|
2008-05-19 16:53:29 +00:00
|
|
|
# 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
|
2015-03-31 12:43:05 +00:00
|
|
|
session required pam_namespace.so
|
2008-05-19 16:53:29 +00:00
|
|
|
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
|
2014-07-03 11:58:57 +00:00
|
|
|
# Used with polkit to reauthorize users in remote sessions
|
|
|
|
-session optional pam_reauthorize.so prepare
|