Configuration of VSFTPD virtual users in Centos 6.2

Source: Internet
Author: User
Tags ftp centos

VSFTPD is the abbreviation for "very secure FTP daemon", and security is one of its biggest features. VSFTPD is the name of a server running on a UNIX-like operating system that can run on top of systems such as Linux, BSD, Solaris, Hp-unix, and is a completely free, source-coded FTP server software that supports many other FTP Features that are not supported by the server. For example: Very high security requirements, bandwidth constraints, good scalability, can create virtual users, support IPV6, high speed.

Have done before VSFTPD, will no longer introduce!

Installation:

[Root@chenyi ~]# Mount/dev/cdrom/media #挂载镜像 eliminates configuration of Yum sources

[Root@chenyi ~]# yum install vsftpd #yum安装vsftpd

[Root@chenyi ~]# mv/etc/vsftpd/vsftpd.conf/etc/vsftpd/@vsftpd. Conf.bak #备份原始配置文件 for future reference and use

[Root@chenyi ~]# vi/etc/vsftpd/vsftpd.conf #创建vsftpd. conf

The contents are as follows:

Listen=yes
background=yes
anonymous_enable=no
local_enable=yes
write_enable=yes
Local_ umask=022
anon_upload_enable=no
anon_mkdir_write_enable=no
dirmessage_enable=yes
xferlog_ Enable=yes
connect_from_port_20=yes
chown_uploads=no
xferlog_file=/var/log/vsftpd.log
Xferlog_std_format=yes
async_abor_enable=yes
ascii_upload_enable=yes
ascii_download_enable=yes
ftpd_banner=welcome to Nanu FTP server
pam_service_name=vsftpd
chroot_local_user=no
chroot_ List_enable=yes
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
guest_enable=yes
guest_username =chenyi
Nopriv_user=chenyi
user_config_dir=/etc/vsftpd/user_config
max_clients=100
max_per _ip=20

Creating a chroot Virtual user mapping file

[Root@chenyi ~]# Cat/etc/vsftpd/vsftpd.chroot_list

Chenyi #该文件为手动建立, each line represents a name to map a virtual user to a local account

Create a user account file

[Root@chenyi ~]# Cat/etc/vsftpd/passwd.file

Chenchen #该文件默认也不存在的, the file is used to store user accounts and plaintext passwords, in the form of two lines per account, the first line is the user name, the second line is the password, and so on!

123

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.