Deleted Added
full compact
revnetgroup.8 (89362) revnetgroup.8 (99500)
1.\" Copyright (c) 1995
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
1.\" Copyright (c) 1995
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/libexec/revnetgroup/revnetgroup.8 89362 2002-01-14 16:59:03Z ru $
31.\" $FreeBSD: head/libexec/revnetgroup/revnetgroup.8 99500 2002-07-06 19:19:48Z charnier $
32.\"
33.Dd October 24, 1995
34.Dt REVNETGROUP 8
35.Os
36.Sh NAME
37.Nm revnetgroup
38.Nd "generate reverse netgroup data"
39.Sh SYNOPSIS
40.Nm
41.Fl u
42.Op Fl f Ar netgroup_file
43.Nm
44.Fl h
45.Op Fl f Ar netgroup_file
46.Sh DESCRIPTION
32.\"
33.Dd October 24, 1995
34.Dt REVNETGROUP 8
35.Os
36.Sh NAME
37.Nm revnetgroup
38.Nd "generate reverse netgroup data"
39.Sh SYNOPSIS
40.Nm
41.Fl u
42.Op Fl f Ar netgroup_file
43.Nm
44.Fl h
45.Op Fl f Ar netgroup_file
46.Sh DESCRIPTION
47.Nm Revnetgroup
48processes the contents of a file in
47The
48.Nm
49utility processes the contents of a file in
49.Xr netgroup 5
50format into what is called
51.Pa reverse netgroup
52form. That is, where the original file shows
53netgroup memberships in terms of which members reside in a particular
54group, the reverse netgroup format specifies what groups are associated
55with a particular member. This information is used to generate the
56.Pa netgroup.byuser

--- 26 unchanged lines hidden (view full) ---

83.Xr getnetgrent 3
84library functions are spared from having to work out the dependencies
85themselves on the fly. This is important on networks with large numbers
86of users and hosts, since it can take a considerable amount of time
87to process very large netgroup databases.
88.Pp
89The
90.Nm
50.Xr netgroup 5
51format into what is called
52.Pa reverse netgroup
53form. That is, where the original file shows
54netgroup memberships in terms of which members reside in a particular
55group, the reverse netgroup format specifies what groups are associated
56with a particular member. This information is used to generate the
57.Pa netgroup.byuser

--- 26 unchanged lines hidden (view full) ---

84.Xr getnetgrent 3
85library functions are spared from having to work out the dependencies
86themselves on the fly. This is important on networks with large numbers
87of users and hosts, since it can take a considerable amount of time
88to process very large netgroup databases.
89.Pp
90The
91.Nm
91command prints its results on the standard output. It is usually called
92utility prints its results on the standard output. It is usually called
92only by
93.Pa /var/yp/Makefile
94when rebuilding the
95.Tn NIS
96netgroup maps.
97.Sh OPTIONS
98The
99.Nm
93only by
94.Pa /var/yp/Makefile
95when rebuilding the
96.Tn NIS
97netgroup maps.
98.Sh OPTIONS
99The
100.Nm
100command supports the following options:
101utility supports the following options:
101.Bl -tag -width indent
102.It Fl u
103Generate
104.Pa netgroup.byuser
105output; only username information in the
106original netgroup file is processed.
107.It Fl h
108Generate
109.Pa netgroup.byhost
110output; only hostname information in the
111original netgroup file is processed. (Note at least one of the
112.Fl u
113or
114.Fl h
115flags must be specified.)
116.It Op Fl f Ar netgroup_file
117The
118.Nm
102.Bl -tag -width indent
103.It Fl u
104Generate
105.Pa netgroup.byuser
106output; only username information in the
107original netgroup file is processed.
108.It Fl h
109Generate
110.Pa netgroup.byhost
111output; only hostname information in the
112original netgroup file is processed. (Note at least one of the
113.Fl u
114or
115.Fl h
116flags must be specified.)
117.It Op Fl f Ar netgroup_file
118The
119.Nm
119command uses
120utility uses
120.Pa /etc/netgroup
121as its default input file. The
122.Fl f
123flag allows the user to specify an alternate input file. Specifying ``-''
124as the input file causes
125.Nm
126to read from the standard input.
127.El

--- 23 unchanged lines hidden ---
121.Pa /etc/netgroup
122as its default input file. The
123.Fl f
124flag allows the user to specify an alternate input file. Specifying ``-''
125as the input file causes
126.Nm
127to read from the standard input.
128.El

--- 23 unchanged lines hidden ---