首页 > 其他 > 详细

vsftp小记

时间:2015-04-23 19:37:21      阅读:226      评论:0      收藏:0      [点我收藏+]

安装一个vsftp都有问题(Version: 3.0.2-14ubuntu1),提示530 错误,之后修改配置如下(红色):

# cat /etc/pam.d/vsftpd
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed

......

@include common-account
@include common-session
@include common-auth
auth required pam_unix.so(原是pam_shells.so)

之后遇到:

500 OOPS: vsftpd: refusing to run with writable root inside chroot ()

在/etc/vsftpd.conf中添加:

allow_writeable_chroot=YES

注:如果是扩展vsftp,需要添加allow_writable_chroot=YES。

vsftp小记

原文:http://www.cnblogs.com/laozhizi/p/4451245.html

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