System Administration Guide: Naming and Directory Services (NIS+)

Changing an NIS+ Object's Group With nischgrp

To change an object's group, use the following syntax:


nischgrp group object 

Where:

Be sure to append the domain name to both the object name and new group name.

The example below changes the group of the hosts table in the doc.com. domain to admins.doc.com.:


client% nischgrp admins.doc.com. hosts.org_dir.doc.com.