From fc073ea1988de35e561dbee9e65b5ee8674921a7 Mon Sep 17 00:00:00 2001 From: ghudson Date: Sat, 1 Feb 1997 02:46:38 +0000 Subject: [PATCH] Document the meaning of gid 0 to the su command. --- share/man/man5/group.5 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/share/man/man5/group.5 b/share/man/man5/group.5 index 115c6f7c817b..2f8c955a0bec 100644 --- a/share/man/man5/group.5 +++ b/share/man/man5/group.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: group.5,v 1.4 1995/07/28 06:41:39 phil Exp $ +.\" $NetBSD: group.5,v 1.5 1997/02/01 02:46:38 ghudson Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -103,6 +103,14 @@ entry and does not need to be added to that group in the .\" char **gr_mem; /* group members */ .\" }; .\" .Ed +.Pp +The group with gid 0 has a special meaning to the +.Xr su 1 +command: if it exists and has any members, only users in that group +are allowed to +.Nm su +to +.Dq root . .Sh YP SUPPORT If YP is active, the .Nm