IBM Support

IBM AIX: Disable telnetd

How To


Summary

This document describes how to disable the telnet daemon on AIX®.

Steps

1. Open /etc/inetd.conf with a text editor.
vi /etc/inetd.conf
2. Find the line that starts with "telnet".
telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd       telnetd -a
3. Insert a comment character ("#") at the front of the line.
#telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd       telnetd -a
4. Save the file.
5. Refresh inetd for it to process the change.
refresh -s inetd

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvwrAAA","label":"Communication Applications"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
08 March 2022

UID

ibm16561895