xref: /freebsd/lib/libpam/pam.d/su (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1*219cf81bSBrad Davis#
2*219cf81bSBrad Davis#
3*219cf81bSBrad Davis# PAM configuration for the "su" service
4*219cf81bSBrad Davis#
5*219cf81bSBrad Davis
6*219cf81bSBrad Davis# auth
7*219cf81bSBrad Davisauth		sufficient	pam_rootok.so		no_warn
8*219cf81bSBrad Davisauth		sufficient	pam_self.so		no_warn
9*219cf81bSBrad Davisauth		requisite	pam_group.so		no_warn group=wheel root_only fail_safe ruser
10*219cf81bSBrad Davisauth		include		system
11*219cf81bSBrad Davis
12*219cf81bSBrad Davis# account
13*219cf81bSBrad Davisaccount		include		system
14*219cf81bSBrad Davis
15*219cf81bSBrad Davis# session
16*219cf81bSBrad Davissession		required	pam_permit.so
17