Kelmas

Well-Known Member
Nov 6, 2006
121
0
166
Lithuania
I gave read guidelines how to disable Telnet. Decided to disable it, but when opening

/etc/xinetd.d/telnet

this file seems empty. Is there a problem?

Should I simply add
Code:
disable = yes
and restart xinetd?
 

thiago.mgomes

Registered
Jun 10, 2007
4
0
151
Code:
# Converted by inetdconvert
service telnet
{
        socket_type             = stream
        protocol                = tcp
       wait                    = no
        user                    = root
        server                  = /usr/sbin/in.telnetd
        disable                 = yes
}
 

pacificw

Well-Known Member
Aug 26, 2007
65
0
56
check in just /etc/xinetd.d/ and see what other files are in there
it's possible it's named something like kr5.telnet or close to that
then edit instead. not sure if you need to restart or not, it should
be automatic once you've saved the file.
 

twhiting9275

Well-Known Member
Sep 26, 2002
560
28
178
cPanel Access Level
Root Administrator
Twitter
If you're going to "disable" it, then just remove it
as root in ssh
Code:
rpm -e telnet-server
If you think you MIGHT need it (unlikely), then don't uninstall it, but you should be using ssh instead of telnet anyways to get into things ;)