vsftp调配

来源:互联网 发布:摄影布光 知乎 编辑:程序博客网 时间:2024/05/17 08:52
530 Login incorrect.
Login failed.
查询  tail -f /var/log/secure 发现是ftpusers里边有了实体用户名,去掉实体用户名。

vsftpd: pam_listfile(vsftpd:auth): Refused user chishixin for service vsftpd.

500 OOPS: cannot change directory:/chishixin
打开/etc/selinux/config
将selinux=enforcing或permissive改成disabled。
记得要重新启动服务器!

网上还传言vsftp实体用户登录路径不能设置在根目录下,/home  /root等目录。