On Tue, Oct 07, 2008 at 10:21:20PM +0800, stanliao wrote: >Dear Sir, > > > >We would like to run ftp and http servers on our arm-linux. Busybox is also >used in our > >system. The ftp server we use is pure-ftpd, and we use the so called virtual >user account > >provided by pure-ftpd. It's strange that if the home directory of some >virtual user is created > >in an FAT32 partition disk, this user can't put files; if the home directory >of some virtual user > >is created in an EXT2 partition disk, both put and get work. I just wonder >whether or not this > >is because that we didn't do any normal account managements. So, I'd like >ask for help. > > > >The content of "/etc/inittab" and "/etc/init.d/rcS" file are: > > > >"/etc/inittab" > > > >::sysinit:/etc/init.d/rcS > >ttyAM0::respawn:-/bin/sh > > > > > > > >"/etc/init.d/rcS" > >#!/bin/sh > >PATH=/sbin:usr/bin:$PATH > >Mount -t proc proc /proc > >mount -oremount /dev/root / > > > > > >1. If I would like to ask user name/password to login through console, >how should I revise these files?
You want a getty. http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/target_busybox_skeleton/etc/inittab;hb=HEAD > >2. Is there any tool for me to generate "/etc/passwd" and >password-related files offline? You can just edit them by hand or use something like: http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/target_busybox_skeleton/etc/passwd;hb=HEAD http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/target_busybox_skeleton/etc/shadow;hb=HEAD etc. See repo.or.cz/w/buildroot.git/ or buildroot.uclibc.org for a tool which creates a ready to run root filesystem that uses busybox and uClibc. HTH, _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
