[BusyBox] Problem with getty/login

Tim Riker Tim at Rikers.org
Fri Aug 20 10:37:03 MDT 2004


I'm betting you also have /dev/console configured to get a login prompt.

logging in on /dev/console considered harmful.

what does /etc/inittab look like?

Matthias Auchmann wrote:
> 
> Hi List!
>  
> I have a problem with my getty/login/init part of busybox.
>  
> When I start my system and try to log in on ttyS0 (first serial port), 
> which is my console, I enter my username ('root'), which is echoed twice 
> (first strange thing).
> Then I enter a password, but whatever I do, nothing happens, until the 
> login procedure finally times out after 60 seconds.
> Then, a new login-prompt is printed, and this time, everything works 
> fine -> so the problem only occurs at the first login at ttyS0
> It seems like login never gets the password I entered...
>  
> I do NOT have this problem on ttyS1, where everything works out fine, 
> even the first time!
>  
> Here is the what I get:
>  
> -----snip------
>  
> emblinux login: root
> root
>     Password:
>               Login timed out after 60 seconds.
>  
> Welcome to ...
>  
> emblinux login: root
> Password:
> login[18]: root login  on `ttyS0'
>  
> -----snip------
>  
> I tried some options in inittab, but nothing seems to help!
>  
> I guess it's some trivial thing I forgot to configure, so any help would 
> be appreciated!

-- 
Tim Riker - http://rikers.org/ - TimR at Debian.org
Linux Technologist - Tim at TI.com - http://www.TI.com/
BZFlag maintainer - http://BZFlag.org/ - for fun!


More information about the busybox mailing list