netgroup(4) netgroup(4)
NAME
netgroup - netgroup definitions for global users on the network
administration host
SYNOPSIS
/var/yp/netgroup
DESCRIPTION
Computers and users in a network are combined in netgroups in the
/var/yp/netgroup file. A netgroup is defined by its name and the
members of the group.
Members of a netgroup could include:
- one or more sets of three elements in the form (host, user, NIS
domain)
- other netgroups
Accordingly, the members are defined as follows in the
/var/yp/netgroup file:
groupnamea groupnameb groupnamec
groupnameb (host, user, domain)
groupnamec (host, user, domain) (host, user, domain)
groupnamea, groupnameb and groupnamec are the names of the net-
groups. When defining a netgroup, its name must always be positioned
at the beginning of the line. If netgroups are members of another net-
group, the netgroup names are separated from each other by blanks.
Although netgroups are designed for broader usage, the definitions are
only evaluated with the newpasswd(1M) command in the case of Reliant
UNIX clients. Of the three fields, therefore, only "user" is of
relevance. The other fields are ignored. It is only if the network
administration host makes the netgroup definitions available to
clients, which also evaluate "host" and "NIS domain", that the fields
in /var/yp/netgroup should not be empty.
Example:
# cat /var/yp/netgroup
ireland east west
east (,johnson,)(,hanratty,)
west (,durkin,)(,gavin,)
The user netgroup "ireland" includes the users "johnson", "hanratty",
"durkin" and "gavin".
SEE ALSO
newpasswd(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98