Setting the NIS Domain Name

To set the NIS domain name of a host (whether client or server), use the Web-based System Manager or use one of the following procedures.

  • Using the System Management Interface Tool (SMIT):
    1. Enter the fast path: smit chypdom
    2. Enter the domain name in the Domain name of this host field.
    3. Specify both in the CHANGE domain name take effect... field.
    4. Accept your changes and exit SMIT. The NIS domain name is now set.
  • Using the command line, enter: chypdom -B newdomainname

Each of these methods perform two actions. First, they run the domainname command, setting the NIS domain name. Second, they modify the /etc/rc.nfs file so that the NIS domain name is set when the system restarts.