LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No telnet server on my machine (https://www.linuxquestions.org/questions/linux-networking-3/no-telnet-server-on-my-machine-42480/)

Zingaro2002 01-23-2003 05:46 AM

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.

Zingaro2002 01-23-2003 05:48 AM

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.

Config 01-23-2003 06:11 AM

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

peter_robb 01-23-2003 06:12 AM

In a terminal window, type

chkconfig --list

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

Then,
chkconfig telnetd off


All times are GMT -5. The time now is 04:21 PM.