Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netgroup(4) [hpux man page]

netgroup(4)						     Kernel Interfaces Manual						       netgroup(4)

NAME
netgroup - list of network groups DESCRIPTION
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 classifies machines; for remote logins and remote shells, it classifies users. Each line of the file defines a group. The items on a line may be separated by a combination of one or more spaces or tabs. The line has the format groupname member1 member2 ... where memberi is either another group name, or a triple. If any of these three fields is left empty, it signifies a wildcard. Thus 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. Machine belongs to the group in the domain but no users belong to it. Similarly, the user belongs to the group in the domain but no machines belong to it. Note, the domainname field must match the current domain name (as returned by the 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 it does, the groups are stored in the following NIS maps: Refer to ypserv(1M) and ypfiles(4) for an overview of Network Information Service. AUTHOR
was developed by Sun Microsystems, Inc. FILES
SEE ALSO
makedbm(1M), mountd(1M), ypmake(1M), ypserv(1M), getnetgrent(3C), hosts.equiv(4), ypfiles(4). Chapter 7: netgroup(4)

Check Out this Related Man Page

netgroup(4)						     Kernel Interfaces Manual						       netgroup(4)

NAME
netgroup - List of network groups DESCRIPTION
The netgroup file defines network-wide groups used for permission checking when doing remote mounts, remote logins, and remote shells. For remote mounts, the information in the netgroup file is used to classify machines; for remote logins and remote shells, it is used to clas- sify users. Each line of the netgroup file defines a group and has the following format: groupname member_1 ... member_n Each member can be either another group name or a combination of the host name, user name, and domain name in the following format: (hostname, username, domainname) Any of the three fields can be empty, in which case a wildcard is assumed. For example, to define a group to which everyone belongs, the following entry could appear in the netgroup file: universal (,,) Field names that begin with something other than a letter, digit, or underscore (such as ``-'') work in the opposite way. For example: justmachines (analytica,-,suez) justpeople (-,babbage,suez) The machine analytica belongs to the group justmachines in the domain suez, but no users belong to it. Similarly, the user babbage belongs to the group justpeople in the domain suez, but no machines belong to it. Network groups are part of the NIS database 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(8). 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 RELATED INFORMATION
getnetgrent(3), makedbm(8), ypserv(8) delim off netgroup(4)
Man Page