The Root Account of the vsftp server cannot be used for FTP logon.

Source: Internet
Author: User

By default, vsftp does not allow root users to log on. you can modify the limits to solve this problem.

First, find the vsftp configuration directory.

 
[[Email protected] vsftpd] # PWD/etc/vsftpd [[email protected] vsftpd] # lschroot_list ftpusers user_list vsftpd. conf using [[email protected] vsftpd] #

Modify

 
[[Email protected] vsftpd] # Cat ftpusers # users that are not allowed to login via FTP # rootbindaemonadmlpsyncshutdownhaltmailnewsuucpoperatorgamesnobody

Modify

[[Email protected] 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

The above two are the list of accounts that are not allowed to be used by vsftp by default. Let's talk about deleting the root account in the file, or add a # above to restart the vsftpd service.

The Root Account of the vsftp server cannot be used for FTP logon.

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.