mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
6fe126c1a9
a warning if neither luser nor ruser is specified. The correct option for su(1) is ruser. MFC after: 1 month
18 lines
322 B
Plaintext
18 lines
322 B
Plaintext
#
|
|
# $FreeBSD$
|
|
#
|
|
# PAM configuration for the "su" service
|
|
#
|
|
|
|
# auth
|
|
auth sufficient pam_rootok.so no_warn
|
|
auth sufficient pam_self.so no_warn
|
|
auth requisite pam_group.so no_warn group=wheel root_only fail_safe ruser
|
|
auth include system
|
|
|
|
# account
|
|
account include system
|
|
|
|
# session
|
|
session required pam_permit.so
|