Linux and Unix nischmod command

Quick links

About nischmod
Syntax
Related commands
Linux and Unix main page

About nischmod

Change access rights on a NIS+ object.

Syntax

nischmod [-A] [-f] [-L] [-P] mode name

-A Modify all entries in all tables in the concatenation path that match the search criteria specified in name. This option implies the -P switch.
-f Force the operation and fail silently if it does not succeed.
-L Follow links and change the permission of the linked object or entries rather than the permission of the link itself.
-P Follow the concatenation path within a named table. This option is only applicable when either name is an indexed name or the -L switch is also specified and the named object is a link pointing to an entry.
mode mode has the following form:

rights [, rights]...

rights has the form:

[ who ] oppermission [ oppermission ]...

who is a combination of:

n Nobody's permissions.
o Owner's permissions.
g Group's permissions.
w World's permissions.
a All, or owg. If who is omitted, the default is a.

op is one of:

+ To grant the permission.
- To revoke the permission.
= To set the permissions explicitly.

permission is any combination of:

r Read.
m Modify.
c Create.
d Destroy.

Related commands

chmod
nischown
nisdefaults
nismatch