Citando Harry Gunnarsson <[EMAIL PROTECTED]>:

> I ran into the exactly same thing. And if I remember correctly, I think the
> ftpd port per default expects the presence of a /etc/passwd file in your
> filesystem. To take that behavior out would require some hacking into the
> ftpd sources.
> 
> I ended up putting a pre-generated passwd file into my romfs. Since it is a
> textfile containing the ciphertext of the password, I ended up configuring
> uClinux with 'passwd' command, generate a password and put this into
> /etc/passwd romfs. Then ftp works fine using the username/password you
> picked.
> 
> Harry

You are right, I have solved the problem sending an /etc/passwd on ucLinux, 
only with a small modification.

Now the file /etc/passwd don't contain the cypher of the password, only an X, I 
went to take it from the file /etc/shadow, make upload to ucLinux and 
everything is ok.

One more thing, is there a way of put the file (/etc/passwd) on romfs ? I am 
generating the Linux.bin by hand, making an cat of linux.bin and romfs.img 
(generated by me), this is slow and boring :/

Thanks for the help ;)


-- 
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to