[OT] Re: no inetd.conf file

J Sloan (jjs@pobox.com)
Sun, 25 Nov 2001 21:21:59 -0800


rohit prasad wrote:

> Hi,
>
> I have installed 2.4.7 version of the kernel in my machine.
> I am facing a problem with telnet where all connections are refused.

Sounds like iptables and tcp wrappers are working?

Or you haven't enabled telnetd?

> When I grep for telnetd there is no telnetd running.

No, it wouldn't be running unless someone
has connected via telnet.

> If I try to start it the error reported is ,
>
> "telnetd:getpeername:socket operation on non-socket"

Right you don't start telnet by hand, its
invoked from inetd,or rather xinetd.

> I checked for the inetd.conf file it is not present in the /etc directory.

inetd has been replaced by xinetd, which
does seem to have some advantages.

> I want to know does this xinetd.conf file helps or,
> what else could I do to start telnetd.

Why not run "ntsysv", and select telnet?

Or, edit /etc/xinetd.d/telnet and then type
"service xinetd restart".

> I have done a "Everything" (All packages) installation of RH7.2 but no inetd.conf

That's as it should be

There is one thing - telnet is not a good thing
to have running, you really want to use secure
shell instead. If you have any concern at all
for security that is.

Finally, this has nothing to do with kernel
development, so try to reserve this list
for actual kernel related questions.

cu

jjs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/