Stupid Telnet Question

Ben Warren bwarren at qstreams.com
Mon Sep 11 14:49:47 EST 2006


Tim,

--- "Martin, Tim" <tim.martin at viasat.com> wrote:

<snip>

>  When I just telnet
> locally from the serial console to the board (using
> the loopback IP
> 127.0.0.1) the telnet daemon connects, but the login
> program doesn't
> give me a chance to type a username or login.  
> 
> Question: What stupid thing have I done to cause
> this and how can I fix
> it?
> 
> -------------------------------------------------
> This is what my console session looks like:
> 
> # telnet 127.0.0.1
> 
> Entering character mode
> Escape character is '^]'.
> 
> 
> Linux 2.6.14 (172.16.5.11) (17:13 on Tuesday, 22
> November 2011)
> 
> Login incorrect
> 
> Login incorrect
> 
> Login incorrect
> 
> 
> Login incorrect
> Connection closed by foreign host.
> 
> -------------------------------------------------
> And here's what syslog is saying:
> 
> Nov 22 17:15:08 172 authpriv.info xinetd[1025]:
> START: telnet pid=1037
> from=172.16.1.199
> Nov 22 17:15:08 172 authpriv.notice login: FAILED
> LOGIN 1 FROM
> 172.16.1.199 FOR (null), Authentication failure

For security reasons, Telnet is typically set up so
that you can't log in using 'root'.  This is because
the data channel isn't encrypted so passwords are
easily compromised.  If you don't have any other users
set up, it will give the behaviour that you're seeing.
 

It's been a while since I've done this, but I think
you need to edit /etc/xinetd.d/telnet to allow root
use.  Or add a user.  Or install SSH.

cheers,
Ben



More information about the Linuxppc-embedded mailing list