When you create an object, NIS+ assigns the object a default owner and group, and a default set of access rights for all four classes. The default owner is the NIS+ principal who creates the object. The default group is the group named in the NIS_GROUP
environment variable. Table 10-6, shows the default access rights.
Nobody |
Owner |
Group |
World |
---|---|---|---|
- |
read |
read |
read |
- |
modify |
- |
- |
- |
create |
- |
- |
- |
destroy |
- |
- |
If you have the NIS_DEFAULTS
environment variable set, the values specified in NIS_DEFAULTS
will determine the defaults that are applied to new objects. When you create an object from the command line, you can use the -D flag to specify values other than the default values.