下载安装及配置vsftpd3.0.3

来源:互联网 发布:合肥飞友网络 编辑:程序博客网 时间:2024/06/06 02:17
1.setup like what this site do:
http://jingyan.baidu.com/article/7908e85c988b23af481ad2ae.html


2.add a file named "chroot.chroot_list";
gedit chroot.chroot_list


3.chmod 777 chroot.chroot_list


4.add 4 rows in etc/vsftpd.conf:


allow_writeable_chroot=YES


local_root=/home/myd/workspace/myFtp(this is your roow path)


chroot_local_user=YES


anon_root=/var/www/html/