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.用戶配置anonymous_enable=NO #匿名用戶不可登錄
local_enable=YES #
chroot_local_user=YES #只能訪問當前用戶的目錄
systemctl restart vsftpd
systemctl enable vsftpd
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
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 草原上的駱駝 閱讀(363) 評論(0) 編輯 收藏 所屬分類: Linux