NETGROUP(4) — Series 300 Only
NAME
netgroup − list of network groups
DESCRIPTION
The /etc/netgroup file defines network wide groups and is used for permission checking when executing remote mounts, remote logins, and remote shells. For remote mounts, the information in netgroup classifies machines; for remote logins and remote shells, it classifies 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)
If any of the three fields are left empty, it signifies a wild card. Thus
universal (,,)
defines a group to which everyone belongs. Field names that begin with something other than a letter, digit or underscore (such as “-”) do not match any value. For example, consider the following entries.
justmachines(analytica,-,YOURDOMAIN)
justpeople(-,root,YOURDOMAIN)
The machine analytica belongs to the group justmachines in the domain YOURDOMAIN, but no users belong to it. Similarly, the user root belongs to the group justpeople in the domain YOURDOMAIN, but no machines belong to it.
Note, the domain name field must match your current domain name (as returned by the domainname command), or else the entry will not be matched. Also, the user name field is ignored for remote mounts. Only the hostname and domainname are used.
The Yellow Pages (YP) can serve network groups. If so, they are stored in the following YP maps.
netgroup
netgroup.byuser
netgroup.byhost
Refer to ypserv(1M) and ypfiles(4) for an overview of the Yellow Pages.
AUTHOR
Sun Microsystems, Inc.
FILES
/etc/netgroup
SEE ALSO
makedbm(1M), mountd(1M), ypmake(1M), ypserv(1M), getnetgrent(3C), hosts.equiv(4), ypfiles(4).
Hewlett-Packard Company — May 11, 2021