Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > N

netgroup(4)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

netgroup — list of network groups

DESCRIPTION

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. 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.

(hostname, username, domainname)

If any of these three fields is left empty, it signifies a wildcard. 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 domainname field must match the current domain name (as returned by the domainname command), or the entry is not matched. Also, the username 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:

netgroup netgroup.byuser netgroup.byhost

Refer to ypserv(1M) and ypfiles(4) for an overview of Network Information Service.

AUTHOR

netgroup was developed by Sun Microsystems, Inc.

FILES

/etc/netgroup

SEE ALSO

makedbm(1M), mountd(1M), ypmake(1M), ypserv(1M), getnetgrent(3C), hosts.equiv(4), ypfiles(4).

Installing and Administering NFS Services, Chapter 7: NIS Configuration.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.