netgroup(4) NFS R4.11 netgroup(4)
NAME
netgroup - list of network groups
DESCRIPTION
netgroup defines network wide groups, used for permission checking
when doing remote mounts, remote logins, and remote shells. For
remote mounts, the information in netgroup is used to classify
machines; for remote logins and remote shells, it is used to classify
users. Each line of the netgroup file defines a group and has the
format
groupname member1 member2 ....
where memberi is either another group name, or a triple:
(hostname, username, domainname)
Any of these three fields can be empty, in which case it signifies a
wild card. Thus
universal (,,)
defines a group to which everyone belongs.
A gateway machine should be listed under all possible hostnames by
which it may be recognized:
wan (gateway,,) (gateway-ebb,,)
Field names that begin with something other than a letter, digit or
underscore (such as `-') work in precisely the opposite fashion. For
example, consider the following entries:
justmachines (analytica,-,dgux)
justpeople (-,babbage,dgux)
The machine analytica belongs to the group justmachines in the domain
dgux, but no users belong to it. Similarly, the user babbage belongs
to the group justpeople in the domain dgux, but no machines belong to
it.
The domainname field refers to the NIS domain in which the triple is
valid, not the name containing the trusted host. Adding a netgroup
entry to the local netgroup file is not sufficient to define a
netgroup, NIS must be used.
FILES
/etc/netgroup
SEE ALSO
makedbm(1M), ypserv(1M), getnetgrent(3N), exports(4).
Licensed material--property of copyright holder(s)