utility processes the contents of a file in
format into what is called
That is, where the original file shows
netgroup memberships in terms of which members reside in a particular
group, the reverse netgroup format specifies what groups are associated
with a particular member.
This information is used to generate the
These reverse netgroup maps are used to help speed up
netgroup lookups, particularly for the
For example, the standard
file may list a netgroup and a list of its members.
netgroup is considered the
and the member names are the
By contrast, the reverse
database lists each unique
member as the key and the netgroups to which the members belong become
Separate databases are created to hold information pertaining
to users and hosts; this allows netgroup username lookups
and netgroup hostname lookups to be performed using independent keyspaces.
By constructing these reverse netgroup databases (and the corresponding
maps) in advance, the
library functions are spared from having to work out the dependencies
themselves on the fly.
This is important on networks with large numbers
of users and hosts, since it can take a considerable amount of time
to process very large netgroup databases.
utility prints its results on the standard output.
It is usually called
when rebuilding the