NFS Services Administrator's Guide (B.11.31.03) August 2008
NOTE: NFSv4 uses string identifiers that map to user IDs and group IDs in the
standard integer format. For more information on string identifiers supported on NFSv4,
see “New Features in NFS” (page 15).
Consider the following points when you set user IDs and group IDs:
• Each user must have the same user ID on all systems where that user has an
account.
• Each group has the same group ID on all systems where that group exists.
• No two users on the network have the same user ID.
• No two groups on the network have the same group ID.
You can set user and group IDs in the following methods:
• Using the HP-UX System Files (/etc/passwd and /etc/group)
• Using NIS
• Using LDAP
Using the HP-UX System Files
If you are using the HP-UX system files, add the users and groups to the /etc/passwd
and /etc/group files, respectively. Copy these files to all the systems on the network.
For more information on the /etc/passwd and /etc/group files, see passwd(4) and
group(4).
Using NIS
If you are using NIS, all systems on the network request user and group information
from the NIS maps on the NIS server. For more information on configuring NIS, see
NIS Administrator's Guide (5991-2187).
Using LDAP
If you are using LDAP, all systems on the network request user and group information
from the LDAP directory server. For more information on configuring LDAP, see the
LDAP-UX Client Services B.04.00 Administrator’s Guide(J4269-90064).
Verifying Group Restrictions
HP-UX supports 20 group entries per user, but the maximum number of group entries
supported by RPC is 16. If a user is a member of more than 16 groups, NFS truncates
the number of entries to 16 when the user attempts access to files or directories. Use
the groups command to find the group membership of a user. For more information
on groups, see groups(1). To ensure that a user is not a member of more than 16 groups,
26 Configuring and Administering NFS Services