[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 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.

Network Information Service (NIS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.

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 Guide: Operating System and Devices.

List of NIS Commands.


[ Previous | Next | Contents | Glossary | Home | Search ]