Welcome to the new DOCS.vastdata.com. We've added new menus and a version selector, plus new persona and resource pages to help customers get started. Looking for a previous article? Use the docs search.

nis modify

Prev Next

This command modifies an existing NIS configuration.

Usage

nis modify --id ID
           [--domain-name DOMAIN_NAME]
           [--servers SERVERS]

Required Parameters

--id ID

Identifies the NIS configuration to modify.

Options

--domain-name DOMAIN_NAME

Specifies the NIS domain name shared by all the NIS servers and clients on your network.

Example: --domain-name NIS.companyname.com

--servers SERVERS

A comma-separated list of NIS servers. You can specify up to ten servers.

Specify each server by its IP or host name, up to 48 characters. You can specify up to ten servers.

Example: --servers NISmaster.companyname.com,192.0.2.200,NISslave2.companyname.com

Example

To change the domain name to  my.domain.com:  

vcli: admin> nis modify --id 1 --domain-name my.domain.com