How To Disable Telnet in CentOS

0
1570

Telnet is unsecure network protocol it send clear text passwords over network.

Its highly recommended to disable it on any public server and use ssh server instead.

This following tutorial on how to disable it in CentOS linux.
Login as root and open this file:

Code:
nano /etc/xinetd.d/telnet

Disable Telnet:

Code:
disable = yes

CTRL+O (to save) and CTRL+X (to exit)
Now disable it in chkconfig:

Code:
chkconfig telnet off

Restart xinetd:

Code:
/etc/rc.d/init.d/xinetd restart

Leave A Reply

Please enter your comment!
Please enter your name here