Can not login to console

Rich Felker dalias at aerifal.cx
Sat Apr 8 18:28:14 UTC 2006


On Sat, Apr 08, 2006 at 09:45:13AM +0200, Milrith wrote:
> Le Fri, 7 Apr 2006 18:20:20 -0700 (PDT) Pandit Panburana
> <ppanbura at yahoo.com> a écrit : 
> > Hello,
> >  
> >        When the board comes up with the file system built from buildroot, It gives login prompt on the console but I could not log in as root or any other thing that I attetmpted. The file system is built with every thing set to default by buitroot execept the following line is added to the inittab in order to get the access to the serial port.
> >  
> >       console::respawn:/sbin/getty -L console 115200 vt100
> >  
> >       I do not see any thing in the shadow file. The following is the content of the shardow file.
> >  
> >  root::10933:0:99999:7:::
> >  bin:*:10933:0:99999:7:::
> >  daemon:*:10933:0:99999:7:::
> >  adm:*:10933:0:99999:7:::
> >  lp:*:10933:0:99999:7:::
> >  sync:*:10933:0:99999:7:::
> >  shutdown:*:10933:0:99999:7:::
> >  halt:*:10933:0:99999:7:::
> >  uucp:*:10933:0:99999:7:::
> >  operator:*:10933:0:99999:7:::
> >  nobody:*:10933:0:99999:7:::
> >  default::10933:0:99999:7:::
> >  
> >       What might be a problem? Is it possible to disable loging session and have direct access?
> >  
> >  Thank you,
> >  -Pandit
> 
> Hello,
> 
> The problem may be a missing entry for "console" in the /etc/securetty
> file, which contains consoles for which root login is allowed.

Using console as your tty is a very bad idea. /dev/tty0 or /dev/tty1
should be used instead. Console does not act as a working terminal,
and in particular cannot be the controlling tty and does not work with
job control.

Rich




More information about the uClibc mailing list