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

NIS+ Class, Operator, and Rights Syntax

Access rights, whether specified in an environment variable or a command, are identified with three types of arguments: class, operator, and right.

You can combine operations on a single command line by separating each operation from the next with a comma (,).

Table 15–7 NIS+ Class, Operator, and Rights Syntax – Examples

Operations 

Syntax 

Add read access rights to the owner class

o+r

Change owner. group, and world classes' access rights to modify only from whatever they were before 

a=m

Add read and modify rights to the world and nobody classes 

wn+m

Remove all four rights from the group, world, and nobody classes 

gwn-rmcd

Add create and destroy rights to the owner class and add read and modify rights to the world and nobody classes 

o+cd,wn+rm