美文网首页
Centos7.4 安装vsftpd

Centos7.4 安装vsftpd

作者: bdjejn | 来源:发表于2018-10-18 22:57 被阅读12次

参考 非常不错的文章

https://blog.csdn.net/zy517863543/article/details/80028351

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

相关文章

网友评论

      本文标题:Centos7.4 安装vsftpd

      本文链接:https://www.haomeiwen.com/subject/whjezftx.html