I'm attempting to run an FTP server on a raspberry pi, and after a lot of struggle I finally made it work, however for some reason the server doesn't place users into a chroot jail, and everyone can access all files on the device. Strange is that I did set chroot_local_user to YES, but it doesn't work as I said. Any ideas?
# Example config fil /etc/vsftpd.conf
#
listen=YES
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
user_sub_token=$USER
local_root=/home/$USER/ftp
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 255
تاريخ: يکشنبه
6 تير
1395 ساعت: 23:30