Solaris Naming Administration Guide

Changing Table Entry Owner With nischown

The syntax for changing a table entry's owner uses an indexed entry to identify the entry, as shown below:


nischown new-owner [column=value,...],tablename

Where:

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

The example below changes the owner of an entry in the hosts table of the doc.com. domain to takeda whose home domain is doc.com. The entry is the one whose value in the name column is virginia.


client% nischown takeda.doc.com. '[name=virginia],hosts.org_dir.doc.com.'