Howto use cttyhack with login - job control turned off

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 26 22:16:54 UTC 2009


On Fri, Jun 26, 2009 at 1:13 PM, Manuel Sahm<Manuel.Sahm at feig.de> wrote:
> 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"

No. You need this:

::respawn:/bin/cttyhack /bin/login

Generally, you replace

::respawn:/some/program param1 param2

with

::respawn:/bin/cttyhack /some/program param1 param2

--
vda


More information about the busybox mailing list