LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2003, 05:46 AM   #1
Zingaro2002
Member
 
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, 05:48 AM   #2
Zingaro2002
Member
 
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).
Bye.
 
Old 01-23-2003, 06:11 AM   #3
Config
Member
 
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:http://www.experts-exchange.com/Oper..._11979798.html
 
Old 01-23-2003, 06:12 AM   #4
peter_robb
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

Then,
chkconfig telnetd off
 
  


Reply


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,..how? shrike_912 Programming 6 03-14-2006 04:45 PM
telnet to solaris machine from windows mjunaidy Solaris / OpenSolaris 2 08-30-2005 06:17 AM
Telnet to debian machine dun_noe Debian 6 10-30-2004 06:17 AM
How can I telnet into slackware from a win98 machine karlena Slackware 0 10-31-2003 02:45 PM
telnet into my machine? matrim Linux - Newbie 13 12-19-2002 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:41 PM.

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