[BusyBox] problem using Inittab

Steven Scholz steven.scholz at imc-berlin.de
Thu May 22 13:08:59 UTC 2003


Filippo Ferrara schrieb:
> Hello All,
> I'm trying to use Busybox  (v0.60.3 for PXA250) with Inittab on a system
> with serial console, but once Linux starts it keeps me asking for the login
> name ((none) login: ) no matter what I type on the console.
> 
> My inittab  file contains the following options:
> 
> ::sysinit:/etc/init.d/rcS
> ::respawn:/sbin/getty console
> ::respawn:/sbin/getty -L ttyS0 115200 vt100
> ::ctrlaltdel:/sbin/reboot
> ::shutdown:/bin/umount -a -r
> ::shutdown:/sbin/swapoff -a
> ::restart:/sbin/init
> 
> Did I miss something? I don't have tinylogin but I understood I don't need
> it.
> if I don't use Inittab and add tinylogin works fine.

If you don't want a login at all you could probably replace your getty 
line with something like

ttyS0::respawn:-/bin/sh

And BTW: Do you have a user root in your /etc/passwd?

Steven




More information about the busybox mailing list