Centos7.4 安装vsftpd

2018-10-18  本文已影响12人  bdjejn

参考 非常不错的文章

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

上一篇下一篇

猜你喜欢

热点阅读