首页 > 其他 > 详细

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

时间:2016-01-23 02:01:16      阅读:166      评论:0      收藏: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

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

原文:http://www.blogjava.net/nkjava/archive/2016/01/22/429172.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!