From 5e006585f6625087cf9b1b6aec4c0cba353a007c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 3 Jun 2009 16:02:45 +0000 Subject: Take advantage of the surprise libc bump to bring in YP group(5) exclusion, i.e. support -groupname:*:: in /etc/group. Such groups will be excluded from later +:*::, in just the same was as it is already done for passwd(5). I have been running this since the autumn of 2008. Discussed with several (including deraadt@, millert@, jmc@). --- share/man/man5/group.5 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'share/man') diff --git a/share/man/man5/group.5 b/share/man/man5/group.5 index 302b80d88ac..dd2ea4065e6 100644 --- a/share/man/man5/group.5 +++ b/share/man/man5/group.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: group.5,v 1.13 2009/03/27 12:31:31 schwarze Exp $ +.\" $OpenBSD: group.5,v 1.14 2009/06/03 16:02:44 schwarze Exp $ .\" $NetBSD: group.5,v 1.4 1995/07/28 06:41:39 phil Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -31,7 +31,7 @@ .\" .\" @(#)group.5 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 27 2009 $ +.Dd $Mdocdate: June 3 2009 $ .Dt GROUP 5 .Os .Sh NAME @@ -100,12 +100,19 @@ file. .Sh YP SUPPORT If YP is active, the .Nm -file may also contain lines of the format +file also supports YP exclusions and inclusions. +.Pp +Lines beginning with a +.Ql \&- +(minus sign) are entries marked as being excluded from any following +inclusions, which are marked with a `+' (plus sign). +.Pp +Lines of the format .Bd -literal -offset indent +name:*:: .Ed .Pp -which causes the specified group to be included from the +cause the specified group to be included from the .Pa group.byname YP map. If no group name is specified, or the -- cgit v1.2.3