According to CentOS 7.5 FTP service configuration performed FTP service configuration. Then use FileZilla client connections, always being given.
Problem 1
Solution:
# vi /etc/pam.d/vsftpd
Will be one of auth required pam_shells.so comment out this line of command# systemctl restart vsftpd
Restart the FTP service
The reason:
because here pam_shells.so FTP means users need to log Shell, does not match with the actual situation, we need to annotate it. pam_shells.so specific purpose and meaning look here
Question 2
Solution:
The command to change the #setsebool -P tftp_home_dir on
reason:
CentOS 7.5 SELinux security policy has been used tftp_home_dir instead of the ftp_home_dir. You can use #getsebool -a | grep ftp
the command to view them.