2001-12-05 21:06:21 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# PAM configuration for the "su" service
|
|
|
|
#
|
|
|
|
|
|
|
|
# auth
|
2001-12-05 21:26:00 +00:00
|
|
|
auth sufficient pam_rootok.so no_warn
|
2002-01-30 19:04:39 +00:00
|
|
|
auth sufficient pam_self.so no_warn
|
2003-02-06 14:33:23 +00:00
|
|
|
auth requisite pam_group.so no_warn root_only fail_safe
|
2001-12-05 21:26:00 +00:00
|
|
|
#auth sufficient pam_kerberosIV.so no_warn
|
|
|
|
#auth sufficient pam_krb5.so no_warn try_first_pass auth_as_self
|
2002-01-21 18:51:24 +00:00
|
|
|
auth sufficient pam_opie.so no_warn no_fake_prompts
|
|
|
|
auth requisite pam_opieaccess.so no_warn
|
2001-12-05 21:26:00 +00:00
|
|
|
#auth required pam_ssh.so no_warn try_first_pass
|
|
|
|
auth required pam_unix.so no_warn try_first_pass nullok
|
2001-12-05 21:06:21 +00:00
|
|
|
|
|
|
|
# account
|
2001-12-05 21:26:00 +00:00
|
|
|
#account required pam_kerberosIV.so
|
|
|
|
#account required pam_krb5.so
|
|
|
|
account required pam_unix.so
|
2001-12-05 21:06:21 +00:00
|
|
|
|
|
|
|
# session
|
2001-12-05 21:26:00 +00:00
|
|
|
#session required pam_kerberosIV.so
|
|
|
|
#session required pam_krb5.so
|
|
|
|
#session required pam_ssh.so
|
2002-01-21 18:51:24 +00:00
|
|
|
|
|
|
|
# password
|
|
|
|
password required pam_permit.so
|
|
|
|
|
|
|
|
|
|
|
|
# If you want a "WHEELSU"-type su(1), then comment out the
|
|
|
|
# above, and uncomment the entries below.
|
|
|
|
## auth
|
|
|
|
#auth sufficient pam_rootok.so no_warn
|
|
|
|
##auth sufficient pam_kerberosIV.so no_warn
|
|
|
|
##auth sufficient pam_krb5.so no_warn
|
|
|
|
#auth required pam_opie.so no_warn auth_as_self no_fake_prompts
|
|
|
|
#auth required pam_unix.so no_warn try_first_pass auth_as_self
|
|
|
|
|
|
|
|
## account
|
|
|
|
##account required pam_kerberosIV.so
|
|
|
|
##account required pam_krb5.so
|
|
|
|
#account required pam_unix.so
|
|
|
|
|
|
|
|
## session
|
2001-12-05 21:26:00 +00:00
|
|
|
##session required pam_kerberosIV.so
|
|
|
|
##session required pam_krb5.so
|
|
|
|
##session required pam_ssh.so
|
|
|
|
#session required pam_unix.so
|
2001-12-05 21:06:21 +00:00
|
|
|
|
2002-01-21 18:51:24 +00:00
|
|
|
## password
|
2001-12-05 21:26:00 +00:00
|
|
|
#password required pam_permit.so
|