I think I know what's wrong. I check the /var/log/secure, it says
"error: cannot execute /usr/sbin/in.telnet: No such file or
directory". Does this mean I don't have the deamon installed? How can I
fix this thing?

Thanks
Charels

On Tue, 21 Nov 2000, Sen Peng wrote:

> I tried to remove the -l -a, and do /etc/rc.d/init.d/inet restart. I still
> get the same message as connection closed by foreign host. My host.deny
> is all commented out. I am using the default inetd.conf that comes with
> the installation, which has only 3 services, ftp, telnet, and pop3.
> 
> now inetd.conf has the following line for telnet.
> telnet        stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd 
> 
> Do I need to change anything from /etc/service ?
> 
> argh... 
> 
> Charles
> 
> On Mon, 20 Nov 2000, Tyler Longren wrote:
> 
> > Try removing the -l -a.  My /etc/inetd.conf doesn't have a -l -a.
> > 
> > Tyler
> > 
> > On Tue, 21 Nov 2000, Sen Peng wrote:
> > > Date: Tue, 21 Nov 2000 00:05:08 -0500 (EST)
> > > To: [EMAIL PROTECTED]
> > > From: Sen Peng <[EMAIL PROTECTED]>
> > > CC: [EMAIL PROTECTED]
> > > Reply-To: [EMAIL PROTECTED]
> > > Sender: [EMAIL PROTECTED]
> > > Subject: RE: [newbie] Problem with Telnet
> > > 
> > > Hi, I am having a problem with telnet into my linux box too. I can telnet
> > > into remote sites, but cannot do it other way around. It always tells me
> > > that "connection closed by foreign host". 
> > > 
> > > In my /etc/inetd.conf I had it setup like following. 
> > > telnet    stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd -l -a
> > > 
> > > Can some one give me idea? what does "-l" and "-a" mean ?
> > > 
> > > oh... i setup security as medium when I first install the system.
> > > 
> > > Thanks
> > > Charels
> > > 
> > > On 20 Nov 2000 [EMAIL PROTECTED] wrote:
> > > 
> > > > YOU CAN never ever telnet in as root... it is a security measure that
> > > the linux developers took. and yes the switch user is the right way to
> > > get to root..... You must know a user first to get to root or be able to
> > > SU... Just another step in the security area
> > > > 
> > > > 
> > > > > ** Original Subject: RE: [newbie] Problem with Telnet
> > > > > ** Original Sender: Fabio Tang <[EMAIL PROTECTED]>
> > > > > ** Original Date: Mon, 20 Nov 2000 10:37:19 -0600
> > > > 
> > > > > ** Original Message follows... 
> > > > 
> > > > >
> > > > > Hello ALL
> > > > > 
> > > > > Here I am having a little problem trying to access the linux with
> > > > > telnet. Its strangeous when root can' t access but any other commom
> > > user
> > > > > can normally. And if I access like a normal user and after this
> > > switch
> > > > > to root with su command, I get root access normally. Why I can't
> > > access
> > > > > as root in telnet directly ? What may be wrong or misconfigurated ?
> > > > > Thanks for any help.
> > > > > 
> > > > > Fabio
> > > > > from Sao Paulo, Brazil.
> > > > > 
> > > > 
> > > > 
> > > > >** --------- End Original Message ----------- **
> > > > 
> > > > > 
> > > > 
> > > > animalTK
> > > > 
> > > > 
> > > 
> > > 
> > 
> 
> 


Reply via email to