diff options
author | brd <brd@FreeBSD.org> | 2006-01-28 01:11:11 +0000 |
---|---|---|
committer | brd <brd@FreeBSD.org> | 2006-01-28 01:11:11 +0000 |
commit | 93d466e244c9ef833fd40b7fbf0f42f74110b2f0 (patch) | |
tree | db65467506e48bd3bfb789896cdb451f1c5bde65 /usr.bin/su | |
parent | 7b10eaebaedb9b0720c6c3c6e3863303f9a9b330 (diff) | |
download | FreeBSD-src-93d466e244c9ef833fd40b7fbf0f42f74110b2f0.zip FreeBSD-src-93d466e244c9ef833fd40b7fbf0f42f74110b2f0.tar.gz |
- Mention that users need to be in the wheel group to `su - root' by default, and how to change it.
PR: docs/70616
Submitted by: Jilles Tjoelker <jilles at stack dot nl>
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days
Diffstat (limited to 'usr.bin/su')
-rw-r--r-- | usr.bin/su/su.1 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index e44d639..9cfc82a 100644 --- a/usr.bin/su/su.1 +++ b/usr.bin/su/su.1 @@ -32,7 +32,7 @@ .\" @(#)su.1 8.2 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd October 3, 2004 +.Dd January 27, 2006 .Dt SU 1 .Os .Sh NAME @@ -52,7 +52,20 @@ and switches to that user ID (the default user is the superuser). A shell is then executed. .Pp -PAM is used to set all policy. +PAM is used to set the policy +.Xr su 1 +will use. +In particular, by default only users in the +.Dq Li wheel +group can switch to UID 0 +.Pq Dq Li root . +This group requirement may be changed by modifying the +.Dq Li pam_group +section of +.Pa /etc/pam.d/su . +See +.Xr pam_group 8 +for details on how to modify this setting. .Pp By default, the environment is unmodified with the exception of .Ev USER , @@ -220,7 +233,8 @@ Simulate a login for root. .Xr login.conf 5 , .Xr passwd 5 , .Xr environ 7 , -.Xr pam 8 +.Xr pam 8 , +.Xr pam_group 8 .Sh HISTORY A .Nm |