summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-09-04 08:16:23 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-09-04 08:16:23 +0000
commita83271649059bc2f2c7b255d545ee3005d7b7d8a (patch)
tree677a022dcf61022c1faa6c659a61ac0c14ccb86f
parent2e2a2a951f38fce59fd6e5111daac98e8ac2039b (diff)
clarify usage of wheel group; twp@tezcat.com
-rw-r--r--usr.bin/su/su.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1
index 926303f0cb4..83fd31b2274 100644
--- a/usr.bin/su/su.1
+++ b/usr.bin/su/su.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: su.1,v 1.5 1996/10/26 03:19:30 millert Exp $
+.\" $OpenBSD: su.1,v 1.6 1997/09/04 08:16:22 provos Exp $
.\" Copyright (c) 1988, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -160,7 +160,15 @@ has users listed then only those users can
.Nm su
to
.Dq root .
-Otherwise, anyone can
+It is not sufficient to change a user's
+.Pa /etc/passwd
+entry to add them to the
+.Dq wheel
+group; they must explicitly be listed in
+.Pa /etc/group .
+If no one is in the
+.Dq wheel
+group, it is ignored, and anyone who knows the root password is permitted to
.Nm su
to
.Dq root .