xref: /csrg-svn/sbin/mountd/netgroup.5 (revision 53169)
1*53169Smckusick.\" Copyright (c) 1992 The Regents of the University of California.
2*53169Smckusick.\" All rights reserved.
3*53169Smckusick.\"
4*53169Smckusick.\" %sccs.include.redist.roff%
5*53169Smckusick.\"
6*53169Smckusick.\"     @(#)netgroup.5	5.1 (Berkeley) 04/15/92
7*53169Smckusick.\"
8*53169Smckusick.Dd
9*53169Smckusick.Dt NETGROUP 5
10*53169Smckusick.Os
11*53169Smckusick.Sh NAME
12*53169Smckusick.Nm netgroup
13*53169Smckusick.Nd defines network groups
14*53169Smckusick.Sh SYNOPSIS
15*53169Smckusick.Nm netgroup
16*53169Smckusick.Sh DESCRIPTION
17*53169SmckusickThe
18*53169Smckusick.Nm netgroup
19*53169Smckusickfile
20*53169Smckusickspecifies ``netgroups'', which are sets of
21*53169Smckusick.Sy (host, user, domain)
22*53169Smckusicktuples that are to be given similar network access.
23*53169Smckusick.Pp
24*53169SmckusickEach line in the file
25*53169Smckusickconsists of a netgroup name followed by a list of the members of the
26*53169Smckusicknetgroup.
27*53169SmckusickEach member can be either the name of another netgroup or a specification
28*53169Smckusickof a tuple as follows:
29*53169Smckusick.Bd -literal -offset indent
30*53169Smckusick(host, user, domain)
31*53169Smckusick.Ed
32*53169Smckusickwhere the
33*53169Smckusick.Sy host ,
34*53169Smckusick.Sy user ,
35*53169Smckusickand
36*53169Smckusick.Sy domain
37*53169Smckusickare character string names for the corresponding component.
38*53169SmckusickAny of the comma separated fields may be empty to specify a ``wildcard'' value
39*53169Smckusickor may consist of the string ``-'' to specify ``no valid value''.
40*53169SmckusickThe members of the list may be separated by whitespace and/or commas;
41*53169Smckusickthe ``\e'' character may be used at the end of a line to specify
42*53169Smckusickline continuation.
43*53169SmckusickThe functions specified in
44*53169Smckusick.Xr getnetgrent 3
45*53169Smckusickshould normally be used to access the
46*53169Smckusick.Nm netgroup
47*53169Smckusickdatabase.
48*53169Smckusick.Pp
49*53169SmckusickLines that begin with a # are treated as comments.
50*53169Smckusick.Sh FILES
51*53169Smckusick.Bl -tag -width /etc/netgroup -compact
52*53169Smckusick.It Pa /etc/netgroup
53*53169Smckusickthe netgroup database.
54*53169Smckusick.El
55*53169Smckusick.Sh SEE ALSO
56*53169Smckusick.Xr getnetgrent 3 ,
57*53169Smckusick.Xr exports 5
58*53169Smckusick.Sh COMPATIBILITY
59*53169SmckusickThe file format is compatible with that of various vendors, however it
60*53169Smckusickappears that not all vendors use an identical format.
61*53169Smckusick.Sh BUGS
62*53169SmckusickThe interpretation of access restrictions based of the member tuples of a
63*53169Smckusicknetgroup is left up to the various network applications.
64*53169SmckusickAlso, it is not obvious how the domain specification
65*53169Smckusickapplies to the BSD environment.
66