1REVNETGROUP(8)               NIS Reference Manual               REVNETGROUP(8)
2
3
4

NAME

6       revnetgroup - generate reverse netgroup data
7

SYNOPSIS

9       /usr/lib/yp/revnetgroup [-u | -h]
10

DESCRIPTION

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
15       particular group, the reverse netgroup format specifies what groups are
16       associated with a particular member. This information is used to
17       generate the netgroup.byuser and netgroup.byhosts NIS maps. These
18       reverse netgroup maps are used to help speed up netgroup lookups,
19       particularly 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
23       netgroup maps.
24

OPTIONS

26       -u
27           Generate netgroup.byuser output; only username information in the
28           original netgroup file is processed.
29
30       -h
31           Generate netgroup.byhost output; only hostname information in the
32           original netgroup file is processed.
33

FILES

35       /var/yp/Makefile
36           The Makefile to build the NIS databases.
37
38       /etc/netgroup
39           The default netgroup database file. This file is most often found
40           only on the NIS master server.
41

SEE ALSO

43       getnetgrent(3), netgroup(5),
44

AUTHOR

46       revnetgroup was written by Thorsten Kukuk <kukuk@linux-nis.org>.
47
48
49
50NIS Reference Manual              11/12/2021                    REVNETGROUP(8)
Impressum