Common FTP server programs
IIS、Serv-U (windwards中)
wu-ftpd (obsolete), Proftpd (in Linux)
vsftpd(Very Secure FTP Daemon) (Linux中)
installation
yum install vsftp –y
Related documents
Main configuration file
/etc/vsftpd/vsftpd.conf
User control list file
/etc/vsftpd/ftpusers (can be regarded as a blacklist)
When ftp login, it is transmitted in clear text, so root login is not allowed
When a user is set to blacklist and whitelist, he will produce the result of the blacklist, which means to take the most restrictive authority.
/etc/vsftpd/user_list (can be converted to a whitelist by modifying the configuration file)
FTP related users
Anonymous user: (password is empty or as long as there is an @ symbol, most of them will be disabled)
anonymous or ftp
Local users:
Use Linux system user and password
Virtual user: (more secure, but the configuration is cumbersome and troublesome)
Impersonate users customized by the administrator
Precautions
Turn off firewall
iptables -F (temporarily turn off the firewall)
service iptables save (save the current firewall settings)
Turn off SELinux:
Temporarily effective with commands
sestatus view status
setenforce 0 off
The first item should become disabled after setting it, but it is set to enabled by default in the configuration file, which did not work.
Just restart it