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
Installation of the Virtual I/O Server directly from the HMC
Viewed 21329 times since Tue, Jun 4, 2019
AIX lsdevinfo
Viewed 10472 times since Mon, Jun 3, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 5665 times since Tue, May 22, 2018
AIX disk queue depth tuning for performance
Viewed 15773 times since Thu, Jan 16, 2020
AIX 0516-404 allocp: This system cannot fulfill the allocation
Viewed 3508 times since Thu, Sep 20, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3741 times since Fri, Feb 1, 2019
Install and configure yum on AIX
Viewed 4782 times since Thu, Feb 21, 2019
Configuring an AIX client with multiple Kerberos realms
Viewed 9239 times since Mon, Jun 25, 2018
IVM and VLAN Tagging
Viewed 10472 times since Mon, May 28, 2018
AIX Booting
Viewed 10545 times since Tue, Apr 16, 2019