diff options
author | steve <steve@FreeBSD.org> | 1998-05-25 03:34:52 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-05-25 03:34:52 +0000 |
commit | 3b0c6ff2d7cb4a890794a6e4a6f7a3656b4d9235 (patch) | |
tree | 3168f398093ead9ea6df114e6f01a432e5d1db70 /usr.bin/su/su.1 | |
parent | d0fc5c4c1bd3b08907cdc02d739d460ec2e5c415 (diff) | |
download | FreeBSD-src-3b0c6ff2d7cb4a890794a6e4a6f7a3656b4d9235.zip FreeBSD-src-3b0c6ff2d7cb4a890794a6e4a6f7a3656b4d9235.tar.gz |
Allow a user in group 0 to su(1) to root if their primary
group is 0 in /etc/passwd even if they aren't listed
as a member in /etc/group. This is more inline with
what the group manpage says.
PR: 6696
Submitted by: Max Euston <meuston@jmrodgers.com>
Diffstat (limited to 'usr.bin/su/su.1')
-rw-r--r-- | usr.bin/su/su.1 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index a2452b9..5a46469 100644 --- a/usr.bin/su/su.1 +++ b/usr.bin/su/su.1 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)su.1 8.2 (Berkeley) 4/18/94 -.\" $Id: su.1,v 1.3.2.5 1997/10/12 08:12:40 jmg Exp $ +.\" $Id: su.1,v 1.12 1997/10/27 22:05:05 guido Exp $ .\" .\" this is for hilit19's braindeadness: " .Dd April 18, 1994 @@ -152,13 +152,16 @@ option as understood by most shells. Note that usually expects a single argument only; you have to quote it when passing multiple words. .Pp -Only users listed in group 0 (normally +Only users who are a member of group 0 (normally .Dq wheel ) can .Nm to -.Dq root , -unless this group is empty. +.Dq root . +\ If group 0 is missing or empty, any user can +.Nm +to +.Dq root . .Pp By default (unless the prompt is reset by a startup file) the super-user prompt is set to |