Web Hosting Talk







View Full Version : /etc/xinetd.d/telnet


Fremont Servers
12-10-2001, 03:03 AM
I cannot remember it right now.

After you edit /etc/xinetd.d/telnet, you need to restart it.


What is that command to restart it?
Does anyone remember?

:rolleyes:

CagedTornado
12-10-2001, 04:22 AM
Just a guess, but is it

killall -HUP xinetd

?

Dan

Rehan
12-10-2001, 04:48 AM
This'll do the trick:

/etc/rc.d/init.d/xinetd restart

Fremont Servers
12-10-2001, 04:53 AM
After I edited /etc/xinetd.d/telnet, I restarted xinetd.

I tried two of these command lines:
/etc/rc.d/init.d/xinetd restart
killall -HUP xinetd


It tested it, but it failed.

What might be the problem that is causing this?
:eek:

Rehan
12-10-2001, 04:55 AM
What change did you make in the file? How did you test?

Fremont Servers
12-10-2001, 05:13 AM
In /etc/xinetd.d/telnet, I edited disable = yes to disable = no.

I restarted xinetd.

I tested it by telneting into the machine from another machine.

Telnet failed.


I've done this several times on several machines, and they all worked fine...except for this one.

jahsh
12-12-2001, 04:56 PM
if this is a raq then you must restart inetd not xinetd.
/etc/rc.d/init.d/inet restart

if its redhat >6.2 then its xinetd. I would recommend using ssh instead of telnet unless necessary.

oh yeah and make sure all telnet packages are installed:
rpm -q telnet
I know you need the telnet and telnet-server package as well as xinetd.