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
There are no attachments for this article.
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
Many Choices for AIX File Integrity
Viewed 2516 times since Wed, May 30, 2018
Installation of the Virtual I/O Server directly from the HMC
Viewed 19671 times since Tue, Jun 4, 2019
O’Reilly’s CD bookshelf
Viewed 11683 times since Wed, Jun 27, 2018
View mksysb content & restore individual files
Viewed 1652 times since Tue, Jul 17, 2018
How to Configure Sendmail not to Look up MX records
Viewed 3350 times since Fri, Apr 19, 2019
AIX: Script to create a file with commands to remove missing & failed paths
Viewed 2994 times since Tue, Jun 12, 2018
vfcpmap on VIO Server
Viewed 9251 times since Tue, Jun 4, 2019
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 2016 times since Thu, Feb 21, 2019
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 9930 times since Fri, Jul 5, 2019
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 14791 times since Fri, Jan 18, 2019