Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-23-2003, 06:46 AM   #1
Registered: Feb 2002
Location: Italy
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
Posts: 97

Rep: Reputation: 15
No telnet server on my machine

I'd like to shutdown telnet server on my Linux Red Hat 7.3 server box, so that no one can be able to telnet to its ip address.

Can anyone help me?
Is there a simple way to do this?

Thanks in advance.
Old 01-23-2003, 06:48 AM   #2
Registered: Feb 2002
Location: Italy
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
Posts: 97

Original Poster
Rep: Reputation: 15
Ops... I was forgetting to say that this machine has an Apache web server and a Qmail e-mail server perfectly working (obviously they MUST go on working after disabling telnet).
Old 01-23-2003, 07:11 AM   #3
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
There are two ways to start a telnet server: inetd and standalone. If inetd is used, you can edit the /etc/inetd.conf file to disable it. Putting a # in front of the telnet line does the trick. Either reboot or use kill -HUP <pid_of_inetd>.
If your server is started standalone, edit the startup scripts. I think redhat has them in /etc/rc.d. You could of course also use a gui tool to disable it.
BTW, I just found this link:
Old 01-23-2003, 07:12 AM   #4
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
In a terminal window, type

chkconfig --list

and see if telnetd shows up at the botton of the list

chkconfig telnetd off


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to copy files from another machine to the local machine using telnet, shrike_912 Programming 6 03-14-2006 05:45 PM
telnet to solaris machine from windows mjunaidy Solaris / OpenSolaris 2 08-30-2005 07:17 AM
Telnet to debian machine dun_noe Debian 6 10-30-2004 07:17 AM
How can I telnet into slackware from a win98 machine karlena Slackware 0 10-31-2003 03:45 PM
telnet into my machine? matrim Linux - Newbie 13 12-19-2002 08:46 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration