|
|
HP-UX Reference Volume 1 of 5 > nnischmod(1) |
|
NAMEnischmod — change access rights on an NIS+ object DESCRIPTIONnischmod changes the access rights (mode) of the NIS+ objects or entries specified by name to mode. Entries are specified using indexed names (see nismatch(1)). Only principals with modify access to an object may change its mode. mode has the following form: rights [,rights] ... rights has the form: [ who ] op permission [ op permission ]... who is a combination of:
op is one of:
permission is any combination of:
Options
EXAMPLESGive everyone read access to an object (that is, access for owner, group, and all): nischmod a+r object Deny create and modify privileges to group and unauthenticated clients (nobody): nischmod gn-cm object Set a complex set of permissions for an object: nischmod o=rmcd,g=rm,w=rc,n=r object Set the permissions of an entry in the password table so that the group owner can modify them: nischmod g+m '[uid=55],passwd.org_dir' Change the permissions of a linked object: nischmod -L w+mr linkname EXTERNAL INFLUENCESEnvironment Variables
|
|