Solution to the solution that the linux root user cannot remote ftp
By default, ftp does not allow root users to log in, because root privileges are the maximum. If you run root users to log in remotely, it is a very dangerous thing, so you must not set root to be able to log in remotely, of course, personal It is okay on the way of learning. Let's talk about how to solve the problem that root users cannot log in remotely.
Divided into 5 steps, one step at a time will do
1. In the root directory: cd /etc/vsftpd enter the vsftpd directory
2.ls view the files in the directory, you will see these two files
3.vim vsftpd.ftpusers enter the file vsftpd.ftpusers, add # comment root
4 before root . In the same way, enter: vim vsftpd.user_list; enter the file vsftpd.user_list, add # comment root before root
5. Just restart the ftp service,
service vsftpd restart is
best set to start automatically every time you boot: chkconfig vsftpd on to
avoid shutdown in the future Ftp cannot start normally
This is how I solved it. If this is not the case, you can try other methods.