summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2011-03-15 10:13:35 +0000
committerdes <des@FreeBSD.org>2011-03-15 10:13:35 +0000
commit4ba6015e4681f2adbf17fd06be34ddf44ad7e78d (patch)
treee5fb5f193bf5cf7b1290c9980673a1fc1c13a8d6
parentc66f4fb0906bda1faacf54ae224c376bc28cf74f (diff)
downloadFreeBSD-src-4ba6015e4681f2adbf17fd06be34ddf44ad7e78d.zip
FreeBSD-src-4ba6015e4681f2adbf17fd06be34ddf44ad7e78d.tar.gz
Forgot to commit this change along with r219563: pam_group(8) now issues
a warning if neither luser nor ruser is specified. The correct option for su(1) is ruser. MFC after: 1 month
-rw-r--r--etc/pam.d/su2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pam.d/su b/etc/pam.d/su
index 834c27e..88ce8b0 100644
--- a/etc/pam.d/su
+++ b/etc/pam.d/su
@@ -7,7 +7,7 @@
# 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
+auth requisite pam_group.so no_warn group=wheel root_only fail_safe ruser
auth include system
# account
OpenPOWER on IntegriCloud