Implement root user upload under Fedora

Source: Internet
Author: User
In RedHat, we can follow the steps below to get the result: Modify two files (vsftpd. user_list and vsftpd. ftpusers) to morevsftpd. user_list: Some denied usernames, including root, are listed in the table. Here we delete it, or add # comment out. vivsftpd. user_list -- see the root in it, add # in front of it, and then save the disk to exit vivsftpd. ftpusers

In RedHat, we can get the result through the following steps:

Modify two files (vsftpd. user_list and vsftpd. ftpusers ).
More vsftpd. user_list

Some denied usernames, including root, are listed in the table. Here we delete them, or add # comment out.

Vi vsftpd. user_list -- see the root in it, add # in front of it, and then save the disk and exit
Vi vsftpd. ftpusers -- edit root as well and save the disk and exit.
Service vsftpd restart -- restart FTP

Now, you can log on to FTP using the Linux User and password for various operations.

In Fedora, vsftpd is enabled due to directory and file changes. user_list and vsftpd. ftpusers is split into directories and files, that is, the user_list and ftpusers Files are placed under vsftpd, So we modify the bold part above in a similar way, and change it like this:

Vi vsftpd/user_list -- see the root in it, add # in front of it, and then save the disk and exit
Vi vsftpd/ftpusers -- edit root as well and save the disk and exit
Service vsftpd restart -- restart FTP

Note that all the operations above are performed under the/etc directory. therefore, for Fedora, we can perform another operation under vsftpd. Of course, the statement is changed, which is very simple.

Related Article

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.