summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/su.1
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1997-02-24 20:32:24 +0000
committerguido <guido@FreeBSD.org>1997-02-24 20:32:24 +0000
commita174a13af3f3ab7c4603e7530a5089069d6aef33 (patch)
tree9e53cb9ff65c62c162d01056fbe40ff79a34676e /usr.bin/su/su.1
parent501901f78fe5cac979731f6066eb35d432f2fa35 (diff)
downloadFreeBSD-src-a174a13af3f3ab7c4603e7530a5089069d6aef33.zip
FreeBSD-src-a174a13af3f3ab7c4603e7530a5089069d6aef33.tar.gz
When group wheel is empty, allow everyone to su to root. This has normally
no conseqeunces as we ship with a non-empty wheel. Closes PR/1882 Submitted by: Arne Henrik Juul <arnej@frida.imf.unit.no>
Diffstat (limited to 'usr.bin/su/su.1')
-rw-r--r--usr.bin/su/su.17
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1
index f7c6e74..0c60ec7 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$
+.\" $Id: su.1,v 1.7 1997/02/22 19:57:15 peter Exp $
.\"
.\" this is for hilit19's braindeadness: "
.Dd April 18, 1994
@@ -149,12 +149,13 @@ 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 in group 0 (normally
+Only users listed in group 0 (normally
.Dq wheel )
can
.Nm su
to
-.Dq root .
+.Dq root ,
+unless this group is empty.
.Pp
By default (unless the prompt is reset by a startup file) the super-user
prompt is set to
OpenPOWER on IntegriCloud