[BusyBox] a problem of login

lily lichanjuan04 at st.lzu.edu.cn
Wed Aug 10 03:11:23 UTC 2005


hi,
I build a filesystem with busybox-1.00.tar.bz2 on a hosts which install slackware 10.1,and kernel is 2.4.29.I run SHELL=/bin/ash chroot /mnt successfully,but when i test /sbin/getty 38400 tty1 ,i got the message:
@vlab2:/root# /sbin/getty 38400 tty1
wellcom to linux 2.4.29(tty1)
vlab2 login: root
passwd:
login incorrect
vlab2 login: root
passwd:
login incorrect
vlab2 login: root
passwd:
login incorrect
login[346]:invalid passwd for'UNKNOWN' on 'tty1'
@vlab2:/root#
/etc in my filesystem contain: 
busybox.conf  gshadow  login.access  nsswitch.conf  resolv.conf
fstab         init.d/  login.defs    passwd         securetty
gettydefs     inittab  motd          passwd-        shadow
group         issue    mtab          profile        shadow-
inittab:
::sysinit:/etc/init.d/rcS
::askfirst:/bin/ash
::respawn:/sbin/getty 38400 tty1
init.d/rcS:
#!/bin/ash
echo "hello world!"
mount -n -o remount,rw /
mount -t proc /proc /proc
fstab:
proc             /proc            proc        defaults         0   0
/dev/ram0        /              ext2          defaults         0   0
passwd:
root:x:0:0::/root:/bin/ash
/dev contain:
crw-r--r--  1 root root 5, 1 2005-08-10 10:46 console
crw-rw-rw-  1 root root 1, 3 2005-08-10 10:15 null
crw-rw-rw-  1 root tty  5, 0 2005-08-09 10:52 tty
crw--w--w-  1 root root 4, 1 2005-08-10 10:46 tty1
crw-r--r--  1 root root 4, 2 2005-08-09 16:56 tty2
crw-r--r--  1 root root 4, 5 2005-08-09 22:27 ttyS0
crw-rw-rw-  1 root root 4, 3 2005-08-08 10:50 ttyS1
crw-rw-rw-  1 root root 1, 5 2005-08-10 10:16 zero
I don't know what's the problem ,please help me ,thanks!
                                                                                                               





























-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050810/db8211ed/attachment.htm 


More information about the busybox mailing list