how to enable "login"? login can not work with inittab

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Thu Dec 21 12:10:09 UTC 2006


On Thu, Dec 21, 2006 at 10:45:48AM +0800, kaimi wrote:
> On 12/21/06, Luciano Miguel Ferreira Rocha <strange at nsk.no-ip.org> wrote:
> >
> >On Wed, Dec 20, 2006 at 10:26:20AM +0800, kaimi wrote:
> >> ::respawn:-/bin/sh
> >> ::respawn:/bin/login
> >
> >You're telling init to run two interactive processes in the console.
> >Don't do that.
> >
> thanks for your help, but would you please give me more details? If there's
> only "::respawn:-/bin/sh", I can not get the login prompt.

But you do get a shell prompt, don't you?

So don't put '::respawn:-/bin/sh' in inittab. Put only
'::respawn:/bin/login' and you should get the login prompt.


-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20061221/da92c00e/attachment-0002.pgp 


More information about the busybox mailing list