Hello,

I want to have the telnet service running under Mandrake 7.2. This box is
not used for anything secure, so I don't need to worry about telnet and
clear
passwords.

I read up on xinetd, and added a file called telnet to my /etc/xinetd.d
directory. that file looks like this:

# default: on
# description: Telnet Server
service telnet
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/tcpd
server_args = in.telnetd
}

I did:

ps -aux | grep xinetd
kill -USR2 <pid>
telnet localhost

at this point, I see this:

# telnet localhost
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

but I never see a login prompt, or the message saying "welcome to mandrake
7.2" or something like that. before I added this telnet file to
/etc/xinetd.d, I would get connection refused.  It seems to hang in this
state until I do a Ctrl-C.

Any ideas? I'm running Kernel version 2.2.17.  I am not sure what version of
xinetd, but it would probably be the version that ships with 7.2.

Thanks,
Kevin



Reply via email to