AIX, System Admin↑ The chrctcp command

The chrctcp command in not documented in AIX, but you can still use it to do nice things, especially when you are scripting. Some examples are:

To enable xntpd in /etc/rc.tcpip, and to start xntpd:

# chrctcp -S -a xntpd

To disable xntpd in /etc/rc.tcpip, and to stop xntpd:

# chrctcp -S -d xntpd

To enable xntpd in /etc/rc.tcpip, but not start xntpd:

# chrctcp -a xntpd

To disable xntpd in /etc/rc.tcpip, but to not stop xntpd:

# chrctcp -d xntpd

So, instead of manually editing /etc/rc.tcpip, you can use chrctcp to enable (uncomment), disable (comment) some services, and start and stop them in a single command.

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Do you Know These 5 Use of V$session View ?
Viewed 109159 times since Thu, Jun 21, 2018
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 3066 times since Sun, Jun 3, 2018
Understanding dump devices sysdumpdev
Viewed 4775 times since Mon, Jul 9, 2018
Install and configure GNU watch (gwatch) on AIX
Viewed 7958 times since Thu, Feb 21, 2019
Using Kerberos security with Server for NFS
Viewed 9848 times since Wed, Jun 27, 2018
Removing Failed or Missing Paths
Viewed 2950 times since Wed, May 30, 2018
bootlist multiple boot logical volume found
Viewed 2837 times since Tue, Apr 16, 2019
Epoch & Unix Timestamp Conversion Tools
Viewed 63002 times since Fri, Jun 22, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3776 times since Thu, Feb 21, 2019
My LPAR always boots into SMS. Why?
Viewed 3936 times since Tue, Apr 16, 2019