大漠驼铃

置身浩瀚的沙漠,方向最为重要,希望此blog能向大漠驼铃一样,给我方向和指引。
Java,Php,Shell,Python,服务器运维,大数据,SEO, 网站开发、运维,云服务技术支持,IM服务供应商, FreeSwitch搭建,技术支持等. 技术讨论QQ群:428622099
随笔 - 238, 文章 - 3, 评论 - 117, 引用 - 0
数据加载中……

Vsftp安装配置(不断完善中)

1.安装
sudo yum install vsftpd
2.配置
sudo vi /etc/vsftpd/vsftpd.conf

anonymous_enable=NO #匿名用户不可登录
local_enable=YES      #
chroot_local_user=YES  #只能访问当前用户的目录

systemctl restart vsftpd
systemctl enable vsftpd
3.用户配置
usermod --home /data/ftp test

http://unix.stackexchange.com/questions/94603/limit-ftp-access-only-to-the-var-www-with-vsftpd
http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/
http://www.howtogeek.com/50787/add-a-user-to-a-group-or-second-group-on-linux/
https://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-centos-configuring-a-user-in-vsftpd

posted on 2016-01-22 07:42 草原上的骆驼 阅读(338) 评论(0)  编辑  收藏 所属分类: Linux


只有注册用户登录后才能发表评论。


网站导航: