Setting Up records for an FTP server

Source: Internet
Author: User

Setting Up records for an FTP server

Environment:

    1. Minimal CentOS Installation

    2. NIC configuration. Turn off the firewall. Turn off SELinux


Software:

vsftpd-2.2.2-21.el6.x86_64.rpm


Installation:

RPM-IVH vsftpd-2.2.2-21.el6.x86_64.rpm

#加入开机自启动

Chkconfig vsftpd on

#启动服务

Service VSFTPD Start


Process:

Local user access to vsftpd.conf configuration

Local_enable=yes

Write_enable=yes

local_umask=022

Local_root=/var/ftp

Pam_service_name=vsftpd

Userlist_enable=yes

Listen=yes


About the creation of local Users

Useradd 001

PASSWD 001

Folder permissions are configured (owner configuration)

#将/var/ftp control is given to users 001 and 001 groups

Chown-r 001:001/var/ftp


Example: Users 001 002 belong to the Ftpuser group, the user can view the group of files, respectively, manage their respective documents.

Configuration ideas:

    1. Give the/var/ftp to Root:ftpuser

    2. Create a new 001-002 folder within the pub, which is assigned to each user and group.



This article is from the "Airsky Learning Linux" blog, so be sure to keep this source http://airsky.blog.51cto.com/969074/1785980

Setting Up records for an FTP server

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.