Linux and Unix nisdefaults command
Quick links
About nisdefaults
Syntax
Examples
Related commands
Linux and Unix main page
Display NIS+ default values.
nisdefaults [-a] [-d] [-g] [-h] [-p] [-r] [-s] [-t] [-v]
| -a | Print all defaults in a terse format. |
| -d | Print the default domain name. |
| -g | Print the default group name. |
| -h | Print the default host name. |
| -p | Print the default principal name. |
| -r | Print the default access rights with which new objects will be created. |
| -s | Print the default directory search path. |
| -t | Print the default time to live value. |
| -v | Print the defaults in a verbose format. This pre-pends an identifying string to the output. |
nisdefaults - would display NIS values similar to the following:
Principal Name : example.computerhope.com.
Domain Name : computerhope.com.
Host Name : example.computerhope.com.
Group Name :
Access Rights : ----rmcdr---r---
Time to live :J:00:00
Search Path : computerhope.com.
