码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 16.04 安装ftp服务

时间:2016-11-14 02:56:29      阅读:328      评论:0      收藏:0      [点我收藏+]

标签:ftp   vsftpd   ubuntu 16.04   

Step 1:

sudo apt-get install vsftpd


Step 2:

修改配置文件/etc/vsftpd.conf

添加如下几行:

userlist_deny=NO

userlist_enable=YES

userlist_file=/etc/allowed_users

seccomp_sandbox=NO

并在etc文件夹中建立对应的allowed_users文件,其中加入赋予权限的用户名


Step 3:

查看/etc/ftpusers, 删除Step2中加入的用户名,该文件为限制访问的用户列表。


Step 4:

/etc/init.d/vsftpd restart

重启服务即可

ubuntu 16.04 安装ftp服务

标签:ftp   vsftpd   ubuntu 16.04   

原文地址:http://wyd33.blog.51cto.com/8672957/1872291

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!