vsftp小记

安装一个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。

posted on 2015-04-23 17:42  J0ker.x  阅读(138)  评论(0编辑  收藏  举报