Setting Up records for an FTP server
Environment:
Minimal CentOS Installation
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:
Give the/var/ftp to Root:ftpuser
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