[ Next Article | Previous Article | Book Contents | 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 Web-based System Manager Network application (wsm network fast path) to run this command. 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.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.

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

Network Information Service (NIS) in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide.

NIS Reference.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]