在Linux上配置vsftpd

一般安装好vsftpd这个服务,它的默认配置文件在这里:/etc/vsftpd/vsftpd.conf 

用vim在里面可以添加一些变量控制权限之类的。还有很多chroot相关的东西,里面的变量都有作用,注释上写了。

配置完毕以后,service vsftpd restart就可以了。这样服务器就启动了

添加FTP用户:useradd [user_name]

密码更改: passwd [user_name]

references:

http://serverfault.com/questions/544850/create-new-vsftpd-user-and-lock-to-specify-home-login-directory

http://askubuntu.com/questions/575523/how-to-setup-virtual-users-for-vsftpd-with-access-to-a-specific-sub-directory

http://blog.haohtml.com/archives/9084

原文地址:https://www.cnblogs.com/foohack/p/5552243.html