NETGROUP_MKDB(8) - System Manager’s Manual # NETGROUP_MKDB(8) - System Manager’s Manual
NAME # netgroup_mkdb - generate the netgroup databases
SYNOPSIS # netgroup_mkdb [-o database] [file]
DESCRIPTION # netgroup_mkdb creates Berkeley databases for the specified file. If no file is specified, /etc/netgroup is used. These databases are then installed into /etc/netgroup.db. The file must be in the correct format (see netgroup(5)).
The options are as follows:
-o database
Put the output databases in the named file.
...
NETGROUP(5) - File Formats Manual # NETGROUP(5) - File Formats Manual
NAME # netgroup - defines network groups
DESCRIPTION # The netgroup file specifies “netgroups”, which are sets of (host, user, domain) tuples that are to be given similar network access.
Each line in the file consists of a netgroup name followed by a list of the members of the netgroup. Each member can be either the name of another netgroup or a specification of a tuple as follows:
...
REVNETGROUP(8) - System Manager’s Manual # REVNETGROUP(8) - System Manager’s Manual
NAME # revnetgroup - generate reverse netgroup data
SYNOPSIS # revnetgroup -h | -u [-f netgroup_file]
DESCRIPTION # revnetgroup processes the contents of a file in netgroup(5) format into what is called reverse netgroup form. 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.
...