Answer the question
In order to leave comments, you need to log in
Proftpd virtual users, home directory?
Please tell me how to restrict virtual users to only this directory (/var/www/site.ru)?
I create a virtual user, specify the user and group from www-data
ftpasswd --passwd --file=/etc/proftpd/ftpd.passwd --name=vuser1 --uid=33 --gid=33 --home=/var/www/site.ru --shell=/bin/false
Answer the question
In order to leave comments, you need to log in
The keyword is chroot. In Proftpd it is enabled via the DefaultRoot option with a value of ~ (tilde).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question