We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


disable telnet on a server

zenworksb asked
Medium Priority
Last Modified: 2012-08-14
How do you disable telnet on a server?
Watch Question

In the Services panel located in Start>Settings>Control Panel>Administrative Tools>Services

Once you open the Telnet service by double clicking it, then you can set it in Startup Type to "Disabled" from the Pull-Down menu

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Sory, this assumes your on Windows Server, did you mean any other OS's? Linux / Unix / MacOS X Server?

On linux, edit f you want to disable Telnet then edit the file /etc/xinetd.d/telnet and set the disable parameter to "yes".

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
       flags          = REUSE
       socket_type    = stream
       wait           = no
       user           = root
       server         = /usr/sbin/in.telnetd
       log_on_failure += USERID
       disable        = yes


You'll then have to restart xinetd for the new settings to take effect.

 [root@bigboy tmp]# /etc/init.d/xinetd restart
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.