NETGROUP(4-SVR4) RISC/os Reference Manual NETGROUP(4-SVR4)
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 net-
group file defines a group and has the format
groupname member1 member2 .... memberi
where memberi is the name of another group member, unless
the file is converted to NIS using the makedbm command and
vis.conf is set up to use NIS to look up netgroups, in which
case memberi must be a triple of
(hostname, username, domainname)
Any of three fields can be empty, in which case 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 under-
score (such as ``-'') work in precisely the opposite
fashion. For example, consider the following entries:
justmachines (analytica,-,sun)
justpeople (-,babbage,sun)
The machine analytica belongs to the group justmachines in
the domain sun, but no users belong to it. Similarly, the
user babbage belongs to the group justpeople in the domain
sun, but no machines belong to it.
Network groups are contained in the Network Information Ser-
vice, and are accessed through these files:
/etc/yp/domainname/netgroup.dir
/etc/yp/domainname/netgroup.pag
/etc/yp/domainname/netgroup.byuser.dir
/etc/yp/domainname/netgroup.byuser.pag
/etc/yp/domainname/netgroup.byhost.dir
/etc/yp/domainname/netgroup.byhost.pag
These files can be created from /etc/netgroup using
makedbm(1M).
Printed 11/19/92 Page 1
NETGROUP(4-SVR4) RISC/os Reference Manual NETGROUP(4-SVR4)
When using NIS and makedbm, the line continuation character
\ is allowed, but if files are used to resolve netgroups,
the \ is not allowed.
FILES
/etc/netgroup
/etc/yp/domainname/netgroup.dir
/etc/yp/domainname/netgroup.pag
/etc/yp/domainname/netgroup.byuser.dir
/etc/yp/domainname/netgroup.byuser.pag
/etc/yp/domainname/netgroup.byhost.dir
/etc/yp/domainname/netgroup.byhost.pag
SEE ALSO
vis(4).
makedbm(1M) in the System Administrator's Reference Manual.
ORIGIN
Sun Microsystems
Page 2 Printed 11/19/92