[BusyBox] Busy Box and User Information

S.Raimbault raimbault.sebastien at free.fr
Thu Feb 17 09:23:51 UTC 2005


Brian,

I would suggest two things:

1. First check that the serial terminal allows root login. You should 
have a line with ttyS0 in file /etc/securetty.

2. Edit your /etc/shadow file and remove the root password:

root:XXXXXXXXXXXXXXXXXXXXXX:YYYYY:Z:WWWWW:T:::
to
root::YYYYY:Z:WWWWW:T:::

This should allow to login without password. Once you'll be logged in, 
just use passwd command to set the root password.


I hope this helps,
SeB.


>
> ------------------------------------------------------------------------
>
> Subject:
> [BusyBox] Busy Box and User Information
> From:
> brian at cavagnolo.org
> Date:
> Tue, 15 Feb 2005 11:44:52 -0800 (PST)
> To:
> busybox at mail.codepoet.org
>
> To:
> busybox at mail.codepoet.org
>
> Content-Transfer-Encoding:
> 8bit
> Precedence:
> list
> MIME-Version:
> 1.0
> Message-ID:
> <33012.64.168.24.106.1108496692.squirrel at 64.168.24.106>
> Content-Type:
> text/plain;charset=iso-8859-1
> Message:
> 1
>
>
>Hello busypeople.  I just started using busybox on an XScale platform and
>I'm trying to build the root file system from scratch.  When I boot with
>the following line in the inittab:
>
>::askfirst:/bin/sh
>
>I get a prompt but I can't su, and none of the user information seems to
>be active.  When I have this line in the inittab instead:
>
>::respawn:/sbin/getty -L ttyS0 38400 vt100
>
>I get a login prompt but can't login, apparently because the user
>information is not set up right.  I copied over known working /etc/passwd
>and /etc/group files, but this still didn't work.  Can somebody help me?
>
>Thanks,
>Brian
>
>p.s.  I didn't really find any documentation on the /etc/busybox.conf file
>syntax.  Any pointers?
>
>
>
>
>  
>




More information about the busybox mailing list