Howto use cttyhack with login - job control turned off

Denys Vlasenko vda.linux at googlemail.com
Mon Jun 29 12:07:45 UTC 2009


On Mon, Jun 29, 2009 at 8:50 AM, Manuel Sahm<Manuel.Sahm at feig.de> wrote:
> Hello,
>
> I tried your suggestion but it seems to be a problem in login :
>
> I add the lin ::respawn:/bin/cttyhack /bin/login in the inittab file.
> I insert the line root:x:0:0:Super-User:/:/bin/date in the /etc/passwd
> file.
>
>
> After restart I type the correct login data an the this appears:
>
> 192.168.3.141 login: root
> Password:
> Login incorrect
>
> 192.168.3.141 login:
>
> Any ideas ?

Well, it's obvious. You are entering wrong password... of course
login won't start the shell!
--
vda


More information about the busybox mailing list