在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

 

posted @ 2016-06-02 10:58  foo__hack  阅读(209)  评论(0编辑  收藏  举报