How to build the best FTP server in Linux

Source: Internet
Author: User
Tags best ftp
How to use Linux to build the best FTP server "continued"-Linux Enterprise Application-Linux server application information, the following is a detailed description. Configure virtual user FTP

The FTP server configured above has a feature that the FTP server user is also a system user. This is obviously a security risk because these users can not only access FTP, but also access other system resources. How can this problem be solved? The answer is to create an FTP server for a virtual user. A virtual user can only access the FTP service provided by the server, but cannot access other resources of the system. Therefore, if you want to grant the write permission to the FTP server station but do not allow access to other system resources, you can use virtual users to improve system security.

In VSFTP, virtual users are authenticated using a separate password library file (pam_userdb), which is authenticated by the pluggable authentication module (PAM. This method is safer and more flexible. The following describes the configuration process.

1. Generate a virtual user password Library File

To create a password library file, you must first generate a text file. The file format is as follows: singular behavior username, even behavior password:
CODE: # vi account.txt
Ylg
1234
Zhanghong
4321
Gou
5678
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.