Document the recent change in group wheel semantics. Also, it wasn't
previously documented that anyone could su to root if group 0 didn't exist.
This commit is contained in:
parent
3d7d96333d
commit
b440233d15
@ -30,7 +30,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" from: @(#)su.1 8.2 (Berkeley) 4/18/94
|
.\" from: @(#)su.1 8.2 (Berkeley) 4/18/94
|
||||||
.\" $NetBSD: su.1,v 1.9 1997/01/20 07:14:35 cjs Exp $
|
.\" $NetBSD: su.1,v 1.10 1997/01/31 23:12:17 ghudson Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd April 18, 1994
|
.Dd April 18, 1994
|
||||||
.Dt SU 1
|
.Dt SU 1
|
||||||
@ -142,7 +142,17 @@ Only users in group 0 (normally
|
|||||||
can
|
can
|
||||||
.Nm su
|
.Nm su
|
||||||
to
|
to
|
||||||
.Dq root .
|
.Dq root ,
|
||||||
|
unless group 0 does not exist or has no members. (If you want nobody
|
||||||
|
to be able to
|
||||||
|
.Nm su
|
||||||
|
to
|
||||||
|
.Dq root ,
|
||||||
|
make
|
||||||
|
.Dq root
|
||||||
|
the only member of group
|
||||||
|
.Dq wheel ,
|
||||||
|
which is the default.)
|
||||||
.Pp
|
.Pp
|
||||||
By default (unless the prompt is reset by a startup file) the super-user
|
By default (unless the prompt is reset by a startup file) the super-user
|
||||||
prompt is set to
|
prompt is set to
|
||||||
|
Loading…
Reference in New Issue
Block a user