码迷,mamicode.com
首页 > 系统相关 > 详细

linux:vsftpd登录报530 Login incorrect无法登录问题

时间:2019-11-02 19:58:48      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:info   linux   sftp   图片   etc   文件   system   怎么   systemctl   

问题:

远程连接linux的ftp时,使用本地账户怎么连也连接不上,ftpuser和user_list配置没问题,vsftpd.config的配置也开启了本地账户登录(local_enable=YES)。

linux用ftp 127.0.0.1登录提示“530 Login incorrect”

技术图片

后来找到大佬评论的一个帖子,https://blog.csdn.net/junjunjiao/article/details/50738009

技术图片

解决:

进入/etc/pam.d将vsftpd文件中的pam_shells.so改为pam_nologin.so,然后systemctl restart vsftpd重启服务,连接ftp成功

技术图片

 原因:

应该和PAM模块配置有关,具体原因待深究

 

linux:vsftpd登录报530 Login incorrect无法登录问题

标签:info   linux   sftp   图片   etc   文件   system   怎么   systemctl   

原文地址:https://www.cnblogs.com/lipanchn/p/11783518.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!