xref: /freebsd/usr.sbin/mountd/netgroup.5 (revision 8fae3551ec46402adf7ab034cf9e02bcbc7ca8ee)
18fae3551SRodney W. Grimes.\" Copyright (c) 1992, 1993
28fae3551SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
38fae3551SRodney W. Grimes.\"
48fae3551SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
58fae3551SRodney W. Grimes.\" modification, are permitted provided that the following conditions
68fae3551SRodney W. Grimes.\" are met:
78fae3551SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
88fae3551SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
98fae3551SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
108fae3551SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
118fae3551SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
128fae3551SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software
138fae3551SRodney W. Grimes.\"    must display the following acknowledgement:
148fae3551SRodney W. Grimes.\"	This product includes software developed by the University of
158fae3551SRodney W. Grimes.\"	California, Berkeley and its contributors.
168fae3551SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors
178fae3551SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
188fae3551SRodney W. Grimes.\"    without specific prior written permission.
198fae3551SRodney W. Grimes.\"
208fae3551SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
218fae3551SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
228fae3551SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
238fae3551SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
248fae3551SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
258fae3551SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
268fae3551SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
278fae3551SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
288fae3551SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
298fae3551SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
308fae3551SRodney W. Grimes.\" SUCH DAMAGE.
318fae3551SRodney W. Grimes.\"
328fae3551SRodney W. Grimes.\"     @(#)netgroup.5	8.2 (Berkeley) 12/11/93
338fae3551SRodney W. Grimes.\"
348fae3551SRodney W. Grimes.Dd December 11, 1993
358fae3551SRodney W. Grimes.Dt NETGROUP 5
368fae3551SRodney W. Grimes.Os
378fae3551SRodney W. Grimes.Sh NAME
388fae3551SRodney W. Grimes.Nm netgroup
398fae3551SRodney W. Grimes.Nd defines network groups
408fae3551SRodney W. Grimes.Sh SYNOPSIS
418fae3551SRodney W. Grimes.Nm netgroup
428fae3551SRodney W. Grimes.Sh DESCRIPTION
438fae3551SRodney W. GrimesThe
448fae3551SRodney W. Grimes.Nm netgroup
458fae3551SRodney W. Grimesfile
468fae3551SRodney W. Grimesspecifies ``netgroups'', which are sets of
478fae3551SRodney W. Grimes.Sy (host, user, domain)
488fae3551SRodney W. Grimestuples that are to be given similar network access.
498fae3551SRodney W. Grimes.Pp
508fae3551SRodney W. GrimesEach line in the file
518fae3551SRodney W. Grimesconsists of a netgroup name followed by a list of the members of the
528fae3551SRodney W. Grimesnetgroup.
538fae3551SRodney W. GrimesEach member can be either the name of another netgroup or a specification
548fae3551SRodney W. Grimesof a tuple as follows:
558fae3551SRodney W. Grimes.Bd -literal -offset indent
568fae3551SRodney W. Grimes(host, user, domain)
578fae3551SRodney W. Grimes.Ed
588fae3551SRodney W. Grimeswhere the
598fae3551SRodney W. Grimes.Sy host ,
608fae3551SRodney W. Grimes.Sy user ,
618fae3551SRodney W. Grimesand
628fae3551SRodney W. Grimes.Sy domain
638fae3551SRodney W. Grimesare character string names for the corresponding component.
648fae3551SRodney W. GrimesAny of the comma separated fields may be empty to specify a ``wildcard'' value
658fae3551SRodney W. Grimesor may consist of the string ``-'' to specify ``no valid value''.
668fae3551SRodney W. GrimesThe members of the list may be separated by whitespace and/or commas;
678fae3551SRodney W. Grimesthe ``\e'' character may be used at the end of a line to specify
688fae3551SRodney W. Grimesline continuation.
698fae3551SRodney W. GrimesThe functions specified in
708fae3551SRodney W. Grimes.Xr getnetgrent 3
718fae3551SRodney W. Grimesshould normally be used to access the
728fae3551SRodney W. Grimes.Nm netgroup
738fae3551SRodney W. Grimesdatabase.
748fae3551SRodney W. Grimes.Pp
758fae3551SRodney W. GrimesLines that begin with a # are treated as comments.
768fae3551SRodney W. Grimes.Sh FILES
778fae3551SRodney W. Grimes.Bl -tag -width /etc/netgroup -compact
788fae3551SRodney W. Grimes.It Pa /etc/netgroup
798fae3551SRodney W. Grimesthe netgroup database.
808fae3551SRodney W. Grimes.El
818fae3551SRodney W. Grimes.Sh SEE ALSO
828fae3551SRodney W. Grimes.Xr getnetgrent 3 ,
838fae3551SRodney W. Grimes.Xr exports 5
848fae3551SRodney W. Grimes.Sh COMPATIBILITY
858fae3551SRodney W. GrimesThe file format is compatible with that of various vendors, however it
868fae3551SRodney W. Grimesappears that not all vendors use an identical format.
878fae3551SRodney W. Grimes.Sh BUGS
888fae3551SRodney W. GrimesThe interpretation of access restrictions based on the member tuples of a
898fae3551SRodney W. Grimesnetgroup is left up to the various network applications.
908fae3551SRodney W. GrimesAlso, it is not obvious how the domain specification
918fae3551SRodney W. Grimesapplies to the BSD environment.
92