NFS Services Administrator's Guide (B.11.31.04) March 2009

use the following procedures depending on the user and group configuration method
you use:
Using the HP-UX System Files
Using NIS
Using LDAP
Using the HP-UX System Files
If you are using HP-UX system files to manage your group database, follow these
steps:
1. To identify the number of groups that the user belongs to, enter the following
command for each user on your system:
/usr/bin/grep -x -c username /etc/group
This command returns the number of occurrences of username in the /etc/group
file.
2. To remove a user from one or more groups, delete the user from the group entries
in the /etc/group file.
Using NIS
If you are using NIS to manage your group database, follow these steps:
1. To identify the number of groups that the user belongs to, enter the following
command :
/usr/bin/ypcat -k group | /usr/bin/grep -c username
This command returns the number of occurrences of username in the NIS group
map.
2. To remove the user from one or more groups in the NIS map, follow the instructions
described in the NIS Administrators Guide (5991-2187).
Using LDAP
For more information on managing user profiles using LDAP, see the LDAP-UX Client
Services B.04.00 Administrator’s Guide (J4269-90064).
Configuring and Administering an NFS Server
Configuring an NFS server involves completing the following tasks:
1. Identify the set of directories that you want the NFS server to share. For example,
consider an application App1 running on an NFS client. Application App1 requires
access to the abc filesystem in an NFS server. NFS server should share the abc
Configuring and Administering an NFS Server 27