1REVNETGROUP(8) Reference Manual REVNETGROUP(8)
2
3
4
6 revnetgroup - generate reverse netgroup data
7
9 /usr/lib64/yp/revnetgroup [-u|-h]
10
12 Revnetgroup processes the standard input in netgroup(5) format into
13 what is called reverse netgroup form. That is, where the original file
14 shows netgroup memberships in terms of which members reside in a par‐
15 ticular group, the reverse netgroup format specifies what groups are
16 associated with a particular member. This information is used to gener‐
17 ate the netgroup.byuser and netgroup.byhosts NIS maps. These reverse
18 netgroup maps are used to help speed up netgroup lookups, particularly
19 for the innetgr library function.
20
21 The revnetgroup command prints its results on the standard output. It
22 is usually called only by /var/yp/Makefile when rebuilding the NIS net‐
23 group maps.
24
26 The revnetgroup command supports the following options:
27
28 -u Generate netgroup.byuser output; only username information in
29 the original netgroup file is processed.
30
31 -h Generate netgroup.byhost output; only hostname information in
32 the original netgroup file is processed.
33
34 Note at least one of the both flags must be specified.
35
37 /var/yp/Makefile The Makefile to build the NIS databases
38 /etc/netgroup the default netgroup database file. This file is
39 most often found only on the NIS master server
40
42 getnetgrent(3), netgroup(5),
43
45 revnetgroup was written by Thorsten Kukuk <kukuk@suse.de>.
46
47
48
49YP Server August 2001 REVNETGROUP(8)