Howto use cttyhack with login - job control turned off
Manuel Sahm
Manuel.Sahm at feig.de
Fri Jun 26 11:13:00 UTC 2009
Hello,
thanks for response,
this line works for me too, but I must have the login feature at startup...
I need thomething like this:
::respawn:/bin/cttyhack /bin/login /bin/sh
"cttyhack" starts "/bin/login/" when login is OK it starts "/bin/sh"
Is something like this possible ?
Thanks
Manuel
>>> Thomas Rega <mail at thoreg.org> 26.06.2009 11:32 >>>
Hi,
IMHO this is not kernel related - so the kernel cmdline parameter should
be ok.
For me it works with the following entry in /etc/inittab:
::respawn:/bin/cttyhack /bin/sh
good luck
TR
Am Freitag, den 26.06.2009, 09:54 +0200 schrieb Manuel Sahm:
> Hello,
>
> I have a huge problem concerning the use of "console" with ash shell.
>
> These are my settings:
> KernelParameter:
> ---------------------------
> console=ttyS0,115200
>
> innittab:
> ---------------
> console::respawn:/bin/login
>
> After I entered my login data, my default shell ash is started with the error:
>
>
> login[283]: root login on 'console'
>
> BusyBox v1.14.2 (2009-06-26 08:33:34 CEST) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> -sh: can't access tty; job control turned off
>
>
>
> The problem is that no <interrupt> like CTRL-C is mentioned by the system.....
>
> Thank you very much for your help.
>
> Best regards
> Manuel
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
More information about the busybox
mailing list