How to turn off telnet on AIX

Greetings. . .Can anyone out there explain how I would turn off the telnet service and close the telnet port on a AIX system?

Thank you,

outta.

  1. comment out or remove the telnet line in /etc/inetd.conf and then have inetd reread it's config file either by rebooting or by running "kill -HUP $inetdpid"

  2. comment out or remove the telnet line in /etc/services.

... just doing item 1 will be sufficient in most cases but adding item 2 will do what you asked for ... however, always make sure you test prior to doing changes on production boxes ...

good luck!

That worked - I only needed to do option #1, and I refreshed inetd by doing a "refresh -s inetd".

Thank you.

outta.