系统:CentOS 7.6 64位

遇到的问题:

在跟着腾讯云文档

https://cloud.tencent.com/document/product/213/10912

搭建Ftp服务器后,输入telnet + 云服务器公网 IP + 21也能够成功连接。

但是在FileZilla连接时出现错误如下

状态:	连接建立,等待欢迎消息...
状态:	不安全的服务器,不支持 FTP over TLS。
命令:	USER ftpuser1
响应:	331 Please specify the password.
命令:	PASS **********
响应:	530 Login incorrect.
错误:	严重错误: 无法连接到服务器

我随后百度有以下几个解决方案:

https://blog.csdn.net/shuaicenglou3032/article/details/72603131

这个是因为操作系统32位原因出错(我这不是)

之后在

https://serverfault.com/questions/180778/vsftpd-530-login-incorrect
里找到了解决方案即:

vi /etc/pam.d/vsftpd
注释掉auth       required     pam_shells.so这行
然后 service vsftpd restart

这个pam_shells.so是啥意思呢?

我百度了一下https://www.cnblogs.com/ilinuxer/p/5087447.html

大概是说如果用户想登陆系统,那么它的shell必须是在/etc/shells文件中之一的shell

相关文章:

  • 2021-05-18
  • 2022-02-20
  • 2021-09-14
  • 2021-12-03
  • 2022-01-01
  • 2021-05-14
  • 2021-10-25
  • 2021-06-04
猜你喜欢
  • 2021-10-27
  • 2021-08-11
  • 2022-12-23
  • 2021-05-22
  • 2021-12-22
  • 2022-01-16
  • 2021-05-25
相关资源
相似解决方案