<p>hi: all<br> <br>I am new here. I am trying to build linux in one floppy using Redhat 9.0 and Bochs 2.2. Busybox 1.1.3 is my choice for the cmd utilities. I use init, getty, login and shell in Busybox. There are some problems.
<br>After the system boots i see the login symbol and enter root then the password but it displays Login incorrect and some other information like this:<br> <br>mylinux login: root<br>Password:<br>Login incorrect<br>mylinux login:
<br>Login timed out after 60 seconds.<br>mylinux login:</p>
<p><br>If i enter root but not the password then it will display "Login timed out after 60 seconds." only in ONE or TWO seconds.</p>
<p>I just copy /etc/passwd /etc/shadow /etc/shadow- /etc/group in Redhat 9 to the floppy linux's file system .</p>
<p>I modify the source code of Busybox and print the password before correct_password in login_main.</p>
<p>It displays as this:</p>
<p>pw_name UNKNOWN<br>pw_passwd !<br>pw_uid 0<br>pw_gid 0<br>pw_gecos (null)<br>pw_dir (null)<br>pw_shell (null)</p>
<p>And the file /etc/inittab is:</p>
<p>#id:2:initdefault:<br>::sysinit:/etc/rc<br>tty1::respawn:/sbin/getty 38400 tty1<br>tty2::respawn:/sbin/getty 38400 tty2<br>tty3::respawn:/sbin/getty 38400 tty3</p>
<p>If i don't use getty and invoke /bin/bash directly then it works.</p>
<p>Do i lose somthing or have some file configured badly?</p>
<p>I have "google"ed for a long time but get nothing valuable. </p>
<p>Btw will tinylogin work ? Are Tinylogin utilities contained in Busybox? I see Tinylogin updates nothing after 2003.</p>
<p>Some tutorial for how to use Busybox's init and getty to login linux system will be best.</p>
<p>Any information or links will be great help.</p>
<p>THKS</p>
<p> </p>