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