您的当前位置:首页正文

Centos7.4 安装vsftpd

来源:图艺博知识网

参考 非常不错的文章

nano /etc/vsftpd/vsftpd.conf

anonymous_enable=NO

local_enable=YES

ascii_upload_enable=YES

ascii_download_enable=YES

chroot_local_user=NO

chroot_list_enable=NO

chroot_list_file=/etc/vsftpd/chroot_list

#当chroot_list_enable=NO,chroot_local_user=NO时,所有的用户均可以切换到其他目录

最后一行添加 allow_writeable_chroot=YES

nano /etc/vsftpd/chroot_list

添加用户名

开机启动

systemctl enable vsftpd.service

systemctl start vsftpd.service

Top