环境
- CentOS Linux release 7.6.1810 (Core);
- vsftpd: version 3.0.2;
解决方式
[michael@michael vsftpd]$ sudo vi /etc/pam.d/vsftpd
注释掉auth required pam_shells.so
行,如下:
ession optional pam_keyinit.so force revoke
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed
#auth required pam_shells.so
auth include password-auth
account include password-auth
session required pam_loginuid.so
session include password-auth
重新登录。