Answer the question
In order to leave comments, you need to log in
How do I create an ftp server on Ubuntu and lock the user in the site folder?
Hello!
I want to use vsftpd to create an ftpadmin user with the qqq password, which, when entered into filezilla ip and its login, will fall into the /var/www/wordpress folder and will be able to do whatever it wants in it, without having the right to go higher.
vsftpd installed, set these settings
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
virtual_use_local_privs=YES
guest_enable=YES
user_sub_token=$USER
chroot_local_user=YES
hide_ids=YES
Answer the question
In order to leave comments, you need to log in
Thanks for the answer. But it didn't help me.
Apparently, I had some kind of problem with vsftpd on the server.
I did everything with a clean head in the morning using proftpd. This guide
helped
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question