Solaris Naming Administration Guide

Changing a Table Entry's Group With nischgrp

The syntax for changing a table entry's group uses an indexed entry to identify the entry, as shown below (this syntax is fully described in "Syntax for Objects and Table Entries").

nischgrp new-group [column=value,...],tablename


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

The example below changes the group of an entry in the hosts table of the domain to The entry is the one whose value in the host name column is virginia.

client% nischgrp '[name=virginia],'