You can change the default access rights, owner, and group, by changing the value of the NIS_DEFAULTS environment variable. Use the environment command that is
appropriate for your shell (setenv for C-shell or $NIS_DEFAULTS=, export
for Bourne and Korn shells) with the following arguments:
access=right, where right are the access rights using the formats described in "Specifying Access Rights in Commands".
owner=name, where name is the user name of the owner.
group=group, where group is the name of the default group
You can combine two or more arguments into one line separated by colons:
-owner=principal-name:-group=group-name
Table 9-13shows some examples:
Table 9-13 Changing Defaults--Examples| Tasks | Examples | 
|---|---|
| This command grants owner read access as the default access right. | client% setenv NIS_DEFAULTS access=o+r | 
| This command sets the default owner to be the user abe whose home domain is doc.com. | client% setenv NIS_DEFAULTS owner=abe.doc.com. | 
| This command combines the first two examples on one code line. | client% setenv NIS_DEFAULTS access=o+r:owner=abe.doc.com. | 
All objects and entries created from the shell in which you changed the defaults will have the new values you specified. You cannot specify default settings for a table column or entry; the columns and entries simply inherit the defaults of the table.