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
Installing a Interim Fix (APAR IV16587)
Viewed 3624 times since Tue, Jul 17, 2018
bootlist multiple boot logical volume found
Viewed 3280 times since Tue, Apr 16, 2019
Getting list users and groups in AIX
Viewed 4894 times since Mon, May 28, 2018
Monitor logfiles and command output on AIX using multitail.
Viewed 2956 times since Thu, Feb 21, 2019
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 11845 times since Thu, Feb 21, 2019
AIX Creating a Volume Group
Viewed 3209 times since Tue, Jul 17, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 3384 times since Thu, Feb 21, 2019
Backup and Restore With AIX
Viewed 5539 times since Sat, May 19, 2018
Practical Guide to AIX - network
Viewed 18557 times since Thu, Sep 20, 2018
AIX: How to manage network tuning parameters
Viewed 4781 times since Mon, Jun 11, 2018