This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aix:aix_netservices [2021/01/01 21:21] 127.0.0.1 external edit |
aix:aix_netservices [2021/05/21 18:48] (current) manu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== AIX securing network services ====== | + | ====== AIX securing network services ======= |
Which services and processes are useful or not in /etc/inittab, /etc/inetd.conf and /etc/rc.tcpip | Which services and processes are useful or not in /etc/inittab, /etc/inetd.conf and /etc/rc.tcpip | ||
Line 5: | Line 5: | ||
http://www.ibm.com/developerworks/aix/tutorials/aix/aix.html | http://www.ibm.com/developerworks/aix/tutorials/aix/aix.html | ||
+ | ===== rc.tcpip ===== | ||
+ | |||
+ | |||
+ | |||
+ | Topics: 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: | ||
+ | <cli prompt='#'> | ||
+ | # chrctcp -S -a xntpd | ||
+ | </cli> | ||
+ | |||
+ | To disable xntpd in /etc/rc.tcpip, and to stop xntpd: | ||
+ | <cli prompt='#'> | ||
+ | # chrctcp -S -d xntpd | ||
+ | </cli> | ||
+ | |||
+ | To enable xntpd in /etc/rc.tcpip, but not start xntpd: | ||
+ | <cli prompt='#'> | ||
+ | # chrctcp -a xntpd | ||
+ | </cli> | ||
+ | |||
+ | To disable xntpd in /etc/rc.tcpip, but to not stop xntpd: | ||
+ | <cli prompt='#'> | ||
+ | # chrctcp -d xntpd | ||
+ | </cli> | ||
+ | |||
+ | For info, since AIX 7.2 TL4 **sendmail** need to be started, as it's required to send email | ||
+ | |||
+ | Sendmail process is starting using | ||
+ | <cli prompt='#'> | ||
+ | # startsrc -s sendmail -a "-bd -q30m" | ||
+ | </cli> |