On the Solaris operating system, the nisdefaults command displays NIS+ default values.
Description
The nisdefaults utility prints the default values returned by calls to the NIS+ local name functions. With no options specified, all defaults are printed in a verbose format. With options, only that option displays in a terse form suitable for shell scripts. See the example below.
- Description
- Syntax
- Environment
- Examples
- Related commands
- Linux commands help
Syntax
nisdefaults [-adghprstv]
Options
Environment
nisdefaults makes use of the following environment variables:
Examples
nisdefaults
Display default NIS values. Output appears similar to the following example:
—-rmcdr—r—
Principal Name : example.computerhope.com. Domain Name : computerhope.com. Host Name : example.computerhope.com. Group Name : Access Rights : —-rmcdr—r— Time to live : 12:00:00 Search Path : computerhope.com.
Related commands
nischmod — Change access rights on an NIS+ object.nischttl — Change the time to live value of an NIS+ object.