Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disabling Telnet question

Discussion in 'General Discussion' started by Kelmas, Jan 4, 2007.

  1. Kelmas

    Kelmas Well-Known Member

    Joined:
    Nov 6, 2006
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. thiago.mgomes

    thiago.mgomes Registered

    Joined:
    Jun 10, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Code:
    # Converted by inetdconvert
    service telnet
    {
            socket_type             = stream
            protocol                = tcp
           wait                    = no
            user                    = root
            server                  = /usr/sbin/in.telnetd
            disable                 = yes
    }
    
     
  3. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    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.
     
  4. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    556
    Likes Received:
    16
    Trophy Points:
    168
    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 ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice