The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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?
     
  2. thiago.mgomes

    thiago.mgomes Registered

    Joined:
    Jun 10, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    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:
    538
    Likes Received:
    15
    Trophy Points:
    18
    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 ;)
     
Loading...

Share This Page