PDA

Bekijk de volledige versie : Virtual user with vsftpd?



the_slider
04-07-2005, 11:07
Hi everybody,

I've made some progress since the last time where I have troubles with my usb device.

Now I try to correctly configure the ftp. I use the last firmware by Oleg and vsftpd.

I would like to make virtual user. But, I don't find a way to do it .....

The only solution I have found is to create real users. But I don't want to do this.

Do you have a solution?

macsat
04-07-2005, 11:32
The solution for making virtual users in vsftpd, is to use PAM (http://www.kernel.org/pub/linux/libs/pam/).

Unfortunately there is currently no ipkg package for PAM for the WL500g.

the_slider
04-07-2005, 11:48
Yes I know it...
So, how can I do to make user rights?

For exemple, I juste want that user TOTO can write to /tmp/harddisk/upload

I can't use chmod, chown, chgrp because it's a fat32 partition.

Do you have ideas?

macsat
04-07-2005, 11:55
Maby you can create a file of, say 100 MB, and then "format" that file as ext3, and mount it.

Then your user can write to this area only if that is what he has permission to do....

....I wouldnt choose FAT32 myself ;-)

the_slider
04-07-2005, 12:06
I'm looking after other solution, like mouting partition with some rights...