2001-11-26 04:07:14

by rohit prasad

[permalink] [raw]
Subject: no inetd.conf file

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.

When I grep for telnetd there is no telnetd running.
If I try to start it the error reported is ,

"telnetd:getpeername:socket operation on non-socket"

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

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

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

Thanks ,
Rohit




___________________________________________________________________________
Visit http://www.visto.com.
Find out how companies are linking mobile users to the
enterprise with Visto.


2001-11-26 05:22:15

by J Sloan

[permalink] [raw]
Subject: [OT] Re: no inetd.conf file

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


2001-11-26 16:28:38

by SpaceWalker

[permalink] [raw]
Subject: Re: no inetd.conf file

It is an off-topic subject, because it is not kernel-based problem
look into /etc/xinetd/ and maybe you'll find yourself a response to your
problem.
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.
>
> When I grep for telnetd there is no telnetd running.
> If I try to start it the error reported is ,
>
> "telnetd:getpeername:socket operation on non-socket"
>
> I checked for the inetd.conf file it is not present in the /etc directory.
>
> I want to know does this xinetd.conf file helps or,
> what else could I do to start telnetd.
>
> I have done a "Everything" (All packages) installation of RH7.2 but no inetd.conf
>
> Thanks ,
> Rohit
>
>
>
> ___________________________________________________________________________
> Visit http://www.visto.com.
> Find out how companies are linking mobile users to the
> enterprise with Visto.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
SpaceWalker

[email protected]
ICQ 36157579