Skip to main content

Configuring NIS server access

You must configure NIS server access to an SVM before NIS accounts can access the SVM . You can use the vserver services name-service nis-domain create command to create an NIS domain configuration on an SVM .

Before you begin

  • All configured servers must be available and accessible before you configure the NIS domain on the SVM .

  • You must be a cluster or SVM administrator to perform this task.

About this task

You can create multiple NIS domains. Only one NIS domain can be set to active at a time.

Create an NIS domain configuration on an SVM : vserver services name-service nis-domain create -vserver SVM_name -domain client_configuration -active true|false -nis-servers NIS_server_IPs

For complete command syntax, see the worksheet Configuring LDAP or NIS server access.

Example

The following command creates an NIS domain configuration on the SVM engData . The NIS domain nisdomain is active on creation and communicates with an NIS server with the IP address 192.0.2.180 .
cluster1::>vserver services name-service nis-domain create 
-vserver engData -domain nisdomain -active true -nis-servers
192.0.2.180