Hello!
I have a vsftpd enabled and i wanna know how can I set perimissions for remote users to write in diffrent directories other than the default one!
Thank you!
Hello!
I have a vsftpd enabled and i wanna know how can I set perimissions for remote users to write in diffrent directories other than the default one!
Thank you!
ionpetrache wrote:
> I have a vsftpd enabled and i wanna know how can I set perimissions for
> remote users to write in diffrent directories other than the default
> one!
Are you using system users or virtual users?
If using virtual users you can define its path when creating the users
database.
Greetings,
–
Camaleón
I’m using system users
ionpetrache wrote:
> I’m using system users
Then I cannot tell you how to achieve this. Virtual users can definitively
handle this, but system users, dunno how :-?
Anyway, you can take a look into “vsftpd_conf” man page and review
the “passwd_chroot_enable” variable to see if that fits your needs.
http://vsftpd.beasts.org/vsftpd_conf.html
Greetings,
–
Camaleón
I tried to change a lot of variables including “passwd_chroot_enable” but it didn’t worked
ionpetrache wrote:
> I tried to change a lot of variables including “passwd_chroot_enable”
> but it didn’t worked
What were your changes? Post them here someone can give you any hint.
I think vsftp lookups the content of /etc/passwd file to handle this.
Greetings,
–
Camaleón
Hmmm it’s a little bit difficult because I changed a lot of variables but I’ll investigate further and i’ll post back with updates about this question.