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
Checking HBA status on AIX
Viewed 18118 times since Fri, Oct 5, 2018
VIO Server Howto
Viewed 10071 times since Mon, Jun 11, 2018
AIX Different Commands For Paging Space Administration swap file create
Viewed 7370 times since Thu, Aug 1, 2019
AIX, Networking Etherchannel failover testing
Viewed 2571 times since Fri, Apr 19, 2019
DISK OPERATION ERROR in AIX
Viewed 14038 times since Thu, Feb 21, 2019
IP configuration in AIX
Viewed 2714 times since Tue, Jul 17, 2018
Script to download TL and SP for AIX using NIM and SUMA
Viewed 9110 times since Thu, Feb 21, 2019
How to Use the Linux lsof Command
Viewed 11544 times since Sun, Jun 30, 2019
AIX, Security, System Admin Difference between sticky bit and SUID/GUID
Viewed 8938 times since Fri, Apr 19, 2019
Convert to Scalable Volume Groups
Viewed 3782 times since Wed, May 30, 2018