VSFTPD File Transfer Server build method

Source: Internet
Author: User
Tags anonymous ftp file permissions ftp access root directory firewall

1. Install VSFTPD Service and DB

<!--[endif]-->

<!--[if!supportlists]-->2, <!--[endif]--> Add three virtual users devadmin sales Saleadm

3, using the Db_load tool to convert list files to DB database files

<!--[if!supportlists]-->4, <!--[endif]--> set up FTP access directory and virtual user corresponding system user

5, establish the root directory, any user can access, and can download/var/ftp/soft

Set up directories and files for user sales and Saleadm access

<!--[if!supportlists]-->6, <!--[endif]--> set Pam files for virtual users

7, modify vsftpd.conf main configuration file, enable virtual user support

<!--[if!supportlists]-->8, <!--[endif]--> Create separate profiles for different users

<!--[endif]-->

Anonymous user

<!--[endif]-->

Devadmin Configuration

Configure a separate profile for user sales

<!--[endif]-->

Configuring a separate profile for user Saleadm

<!--[endif]-->

<!--[if!supportlists]-->9, <!--[endif]--> restart VFSTPD Service

<!--[endif]-->

<!--[if!supportlists]-->10, <!--[endif]--> validation Results

Anonymous user logon

Sales login, can only download/copy can not do other operations

Saleadm landing Right, Var/market have administrative authority

<!--[endif]-->

<!--[endif]-->

Devadm Landing Management/var/ftp/soft

Summarize

Successful Test!!!!!!!!!!

Problems:

1, off the firewall

2, open and close Sclinux setenforce 0 or add firewall rules

3, there will be file permissions issues and even file permissions

4, appears: Does not allow a user to use more than one user name and server or shared resources of multiple connections

        Note : more Wonderful tutorials please focus on the Triple computer Tutorials section, triple Computer office group: 189034526 Welcome to join

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.