netgroup(4) netgroup(4)
NAME [Toc] [Back]
netgroup - list of network groups
DESCRIPTION [Toc] [Back]
File /etc/netgroup 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 these 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)
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 the current domain name (as
returned by the domainname command), or the entry is not matched.
Also, the user-name field is ignored for remote mounts. Only the
hostname and domainname are used.
The Network Information Service (NIS) can serve network groups. When
so used, they are stored in the following NIS maps.
netgroup
netgroup.byuser
netgroup.byhost
Refer to ypserv(1M) and ypfiles(4) for an overview of Network
Information Service.
AUTHOR [Toc] [Back]
netgroup was developed by Sun Microsystems, Inc.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
netgroup(4) netgroup(4)
FILES [Toc] [Back]
/etc/netgroup
SEE ALSO [Toc] [Back]
makedbm(1M), mountd(1M), ypmake(1M), ypserv(1M), getnetgrent(3C),
hosts.equiv(4), ypfiles(4).
Installing and Administering NFS Services, Chapter 7: NIS
Configuration.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |