Configuring and Managing FTP servers: FTP services that provide anonymous and local accounts

Source: Internet
Author: User
Keywords FTP Server
Tags accounts aliyun allow user analysis anonymous anonymous account content directory

Training tasks (i) Provide FTP services for anonymous and local accounts

"Mission Analysis and Requirements"
 The FTP service for this task is only used for enterprise content employees
 Local user jack can upload files to the/var/ftp/jack directory, other Local users do not have upload rights
 Local users are not allowed to leave the host directory
 not http://www.aliyun.com/zixun/aggregation/18736.html "> Allow user jack to process login server

"Hardware and Software Environment"
 using virtual machines to integrate with real host environment
 Install red Hat Enterprise Linux Server 5.0 in VMware Virtual machine systems
 ISO file with Linux installation CD on hard drive

"Step Decomposition"

1. Install VSFTPD Package

#rpm –q vsftpd to see if the VSFTPD software package is installed, if no action is installed
#rpm –IVH vsftpd-2.0.5-10.el5.i386.rpm

2, create jack User, user directory and related permissions

After performing the above operation, the user Jack's home directory is/var/ftp/jack, and the user does not have a shell to log in, so the user also
Unable to log on to the FTP server to achieve the requirements of the task. and through permission settings, Jack User has write permission, the same group of users and other groups have no write permission.
To view the properties of the Jack user, perform the following

3. Edit/etc/vsftpd/vsftpd.conf configuration file
Notice the changes in the box

4, start the FTP server

5, testing

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.