Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Use proftpd
Use ftpasswd to create a user with the correct permissions. The system user ID can also be specified there.
Something like this:
ftpasswd --passwd --file=/etc/proftpd/proftpd.passwd --name=ftp_user --uid=$(id -u system_user) --home=/var/www/iva/data/www/iva.su/drafts --shell=/bin/false
AuthUserFile /etc/proftpd/proftpd.passwd
AuthOrder mod_auth_file.c
RequireValidShell off
DefaultRoot ~
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question