In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to solve the problem that the ftp server cannot connect to login linux? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
1. Install vsftpd first
Command:
Yum-y install vsftpd
After that, start the service:
Service vsftpd start
2. Turn off the firewall
1) take effect after restart
Enable:
Chkconfig iptables on
Close:
Chkconfig iptables off
2) effective immediately and expire after restart
Enable:
Service iptables start
Close:
Service iptables stop
3. By default, vsftp does not allow root users to log in. You can solve this problem by modifying the limit.
First find the vsftp configuration directory [root@localhost vsftpd] # pwd/etc/vsftpd [root@localhost vsftpd] # lschroot_list ftpusers user_list vsftpd.conf vsftpd_conf_ migrate.sh [root @ localhost vsftpd] # modify [root@localhost vsftpd] # cat ftpusers# Users that are not allowed to login via ftp#rootbindaemonadmlpsyncshutdownhaltmailnewsuucpoperatorgamesnobody modify [root@localhost vsftpd] # cat user_list# vsftpd userlist# If userlist_deny=NO, only allow users in this file# If userlist_deny=YES (default), never allow users in this file And# do not even prompt for a password.# Note that the default vsftpd pam config also checks / etc/vsftpd/ftpusers# for users that are denied.#rootbindaemonadmlpsyncshutdownhaltmailnewsuucpoperatorgamesnobody these two are the list of accounts that vsftp is not allowed to use by default Delete the root in the file, or restart the vsftpd service by adding a # number in front of it.
4. Change the enforcing mode in / etc/selinux/config to disabled, and then restart
After reading the above, have you mastered the solution that the ftp server can not connect to login linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.