NFS Services Administrator's Guide
Configuring and Administering NIS+
Administering NIS+
Chapter 5 257
To Create or Remove an NIS+ Group
• To create an NIS+ group, type the following command on any NIS+
client host:
nisgrpadm -c groupname
The following example creates an NIS+ group called engineers in
the Sales.Wiz.Com. domain:
nisgrpadm -c engineers.Sales.Wiz.Com.
• To remove an NIS+ group, type the following command on any NIS+
client host:
nisgrpadm -d groupname
The following example removes the NIS+ group called engineers
from the Sales.Wiz.Com. domain:
nisgrpadm -d engineers.Sales.Wiz.Com.
NIS+ groups are not the same as the HP-UX groups stored in the
group.org_dir table or the /etc/group file. NIS+ groups are used to
determine group ownership of NIS+ objects. NIS+ objects allow certain
access permissions to their group owners. NIS+ groups are stored in the
groups_dir subdirectory of the domain directory.
To create an NIS+ group, you must have create permission for the
groups_dir directory. To remove a group, you must have destroy
permission for group or for the groups_dir directory.
You can use SAM (System Administration Manager) to create or remove
NIS+ groups. To run SAM, type sam at the HP-UX prompt.
For more information, see the following man pages: nisgrpadm(1) and
sam(1M).