ITPub博客

首页 > Linux操作系统 > Linux操作系统 > openSUSE10.2启动vsftpd

openSUSE10.2启动vsftpd

原创 Linux操作系统 作者:yeahokay 时间:2008-08-21 15:30:07 0 删除 编辑

我在使用vsftpd假设ftp服务器时,遇到了启动正常,但无论如何设置都出现不能连接,报错:530 login incorrect。已确定用户名和密码正确。

解决方法:查看/var/log/message文件,看到(时间)vsftpd:pam_listfile(vsftpd:auth):Refused user oracle for service vsftpd的信息,然后再查看/etc/pam.d/vsftpd文件,发现有这么一行

auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed

把其中的sense=deny改为sense=allow

重启vsftpd即可。

[@more@]c

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/786540/viewspace-1009268/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    140
  • 访问量
    1115925