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

问题:

远程连接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模块配置有关,具体原因待深究

猜你喜欢

转载自www.cnblogs.com/lipanchn/p/11783518.html
今日推荐