Solve the problem that root users cannot log on to ftp to transfer files in centos.

Source: Internet
Author: User
1. view and start vsftpd run # ntsysv check whether vsftpd is available. If yes, select and install vsftpd if no vsftpd is available. start ftp. # servicevsftpdrestart2. configure the vsftpd user and enable the root user. # cd/etc/vsftpdwww.2cto.com # comment out the root website by viftpusers...
1. view and start vsftpd run # ntsysv check whether vsftpd is available. If yes, select and install vsftpd if no vsftpd is available. start ftp. # service vsftpd restart 2. configure the vsftpd user and enable the root user. # cd/etc/vsftpd www.2cto.com # vi ftpusers comment out "root". some people say they need to modify the user_list file # vi user_list comment out "root". I still cannot log on successfully after following the above steps, so I searched for the answer online and finally found out how to solve it. You also need to execute # iptables-I INPUT-p tcp -- dport 21-j ACCEPT, which may be a problem with my iptables module, so you need to execute the above command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.