2007-06-22 21:57:16 +00:00
|
|
|
#%PAM-1.0
|
2007-06-22 22:00:29 +00:00
|
|
|
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
|
|
|
|
auth required pam_shells.so
|
|
|
|
auth include system-auth
|
|
|
|
account required pam_nologin.so
|
|
|
|
account include system-auth
|
2007-10-17 17:48:52 +00:00
|
|
|
# pam_selinux.so close should be the first session rule
|
|
|
|
session required pam_selinux.so close
|
2007-06-22 22:00:29 +00:00
|
|
|
session optional pam_keyinit.so force revoke
|
|
|
|
session include system-auth
|
2007-10-17 17:48:52 +00:00
|
|
|
# pam_selinux.so open should only be called for sessions to be executed in the user context
|
2007-06-22 22:00:29 +00:00
|
|
|
session required pam_loginuid.so
|
2007-10-17 17:48:52 +00:00
|
|
|
session required pam_selinux.so open
|