1. View and start vsftpd
Run
#ntsysv
Check that there are no vsftpd, if any, select, no then install VSFTPD.
Start FTP.
#service vsftpd Restart
2. Configure the VSFTPD user to enable the root user.
#cd/etc/vsftpd
#vi ftpusers
Comment out Root
There are people on the Internet that need to modify the User_list file
#vi user_list
Comment out Root
I follow the above practice, still can't login success, so find the answer on the Internet, finally found how to solve.
Also need to execute (Add Firewall policy or shut down firewall)
#iptables-I input-p TCP--dport 21-j ACCEPT
Note:/etc/sysconfig/iptables (firewall configuration address)
PS: You can turn off SELinux if you still can't access it
1. View SELinux Status:/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is on, SELinux status:enabled
2, modify the configuration file needs to restart the machine: Modify the/etc/selinux/config file to change the selinux=enforcing to selinux=disabled restart the machine
CentOS 6.5 vsftp Setup resolves a problem where the root user cannot log in to FTP to transfer files