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
vfcpmap on VIO Server
Viewed 9204 times since Tue, Jun 4, 2019
How to install filesets/software in aix?
Viewed 5428 times since Mon, Jul 8, 2019
Burn Image to DVD in AIX
Viewed 13151 times since Thu, Sep 20, 2018
AIX - How to monitor memory usage
Viewed 4560 times since Fri, Jun 8, 2018
AIX oslevel version OS
Viewed 4489 times since Wed, Apr 17, 2019
AIX perf how to
Viewed 18309 times since Tue, Aug 14, 2018
AIX Errpt - Diag - Alog
Viewed 3312 times since Wed, Mar 20, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 5053 times since Tue, May 22, 2018
O’Reilly’s CD bookshelf
Viewed 11400 times since Wed, Jun 27, 2018
How to Configure Sendmail not to Look up MX records
Viewed 3263 times since Fri, Apr 19, 2019