Howto use cttyhack with login - job control turned off
Manuel Sahm
ManuelSahm at freenet.de
Sat Jun 27 14:15:43 UTC 2009
Hello,
Thanks for help,
If I enter >::respawn:/bin/cttyhack /bin/login in my inittab file, the
login process doesn´t work ?!
The problem is, that when I enter the right login data, the login freezes
for 1-3 seconds and is restarted.
(Maybe cttyhack is killed after successful login and that´s why all is
restarted ?)
Could you confirm this ?
Thanks
Manuel
>On Fri, Jun 26, 2009 at 1:13 PM, Manuel Sahm<
<http://lists.busybox.net/mailman/listinfo/busybox> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090627/0742ef8a/attachment.htm>
More information about the busybox
mailing list