Compile and install vsftpd-2.3.4 and configure virtual User login Advanced application detailed

Source: Internet
Author: User
Tags create directory implement mkdir file permissions


To continue a blog, and then in-depth explanation VSFTPD Configure the FTP server to achieve a deeper level of functionality to achieve more secure, efficient, advanced application skills.



The purpose of this paper is to explain, the key links, the dependencies between toolkits, and the reciprocal support relationship in the system installation process.



Explain in detail why I am doing this and the problems encountered during the operation and the corresponding solutions.



This article highlights:



1. Implement multiple virtual users. Implement multiple virtual host users (local users), and one host local user can associate multiple virtual users.



For example, host local user WWW, associate multiple Virtual user jimmyli.blog.51cto.com (directory/data/jimmyli.blog.51cto.com), user1 (directory/data/user1),............, n Users (directory n) can read and write their own permissions, change file, folder properties.



2.VSFTP manually compiling and configuring the virtual user process. Version vsftpd-2.3.4, System Centos32 bit, 64 bits.



3. Virtual user rights, separate control of directory \ File permissions, read, write, modify, delete, create directory \ Files.



Directory:



1. A complete example



2, compile the installation point analysis, detailed explanation



3. Provision of reference



4. Important Tips



5. Configuration file Operation narration



6, simple configuration instance



7. Reference Examples



8. Common Errors and solutions



A complete example:



Yum Install Pam-devel Db4-utils



wget http://www.92csz.com/downloads/vsftpd-2.3.4.tar.gz



Tar zxvf vsftpd-2.3.4.tar.gz



CD vsftpd-2.3.4



Make && make install



Mkdir-p/data/www/user1



Chown Wwwftp:wwwftp/data/www/user1



useradd-d/data/www-s/sbin/nologin wwwftp



Mkdir-p/etc/vsftpd/



Vim/etc/vsftpd/vftpuser.txt



Jimmyli.blog.51cto.com



123456



User1



Password1





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.