Solaris Naming Administration Guide

Changing Object Owner With nischown

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


nischown new-owner object

Where:

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

The example below changes the owner of the hosts table in the doc.com. domain to the user named lincoln whose home domain is doc.com.:


client% nischown lincoln.doc.com. hosts.org_dir.doc.com.