[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1

chypdom Command

Purpose

Changes the current domain name of the system.

Syntax

/usr/sbin/chypdom [ -I | -B | -N ] DomainName

Description

The chypdom command will change the domain name of the system. The DomainName parameter specifies the new domain name for the system.

You can use the Network application in Web-based System Manager (wsm) to change network characteristics. You could also use the System Management Interface Tool (SMIT) smit chypdom fast path to run this command.

Flags

-I Specifies that the domain name should be changed in the /etc/rc.nfs file. With this flag, the domain name will be changed on the next system restart.
-B Specifies that the domain name should be changed now and the /etc/rc.nfs file should be updated to reflect the change.
-N Specifies that the domain name should be changed now. No change is made to the /etc/rc.nfs file. The domainname command is executed to change the domain name of the system.

Examples

To modify the /etc/rc.nfs file to set the domain name to mydomain on the next system restart, enter:

chypdom -I mydomain

Files

/etc/rc.nfs Contains the startup script for the NFS and NIS daemons.

Related Information

The domainname command, mkclient command, mkmaster command, mkslave command, smit command.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.

System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.

Network Information Service (NIS) in AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide.

NIS Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]