vsftpd 530 Login incorrect 错误 pam_service_name=vsftpd //ubuntu是pam_service_name=ftp(本人测试过正确) http://blog.51yip.com/linux/1672.html
vsftpd的refusing to run with writable root inside chroot 错误 问题的是因为用户的根目录可写,并且使用了chroot限制,而这在最近的更新里是不被允许的。要修复这个错误,可以用命令chmod a-w /home/user去除用户根目录的写权限,注意把目录替换成你自己的。
或者你可以在vsftpd的配置文件中增加下列两项中的一项:
对于标准的vsftpd build (vsftpd):
allow_writeable_chroot=YES 对于扩展的vsftpd build (vsftpd-ext):
allow_writable_chroot=YES
具体配置教程: http://www.while0.com/36.html http://blog.youkuaiyun.com/njchenyi/article/details/8499555
本文介绍了解决vsftpd服务中常见的530 Login incorrect错误及refusing to run with writable root inside chroot错误的方法。对于登录错误,确认pam_service_name设置正确为'ftp';对于权限错误,可通过修改用户目录权限或在vsftpd配置文件中启用allow_writeable_chroot选项来解决。

1856

被折叠的 条评论
为什么被折叠?



