Linux VSFTPD Configuration

Source: Internet
Author: User

Linux uses VSFTPD for FTP uploads

Installing VSFTPD
    Yum Install-y vsftpd
Configure VSFTPD

After backing up the configuration file

Replace the/etc/vsftpd/vsftpd.conf content with the following:

    Listen=yes
Background=yes
Anonymous_enable=no
Local_enable=yes
Write_enable=yes
file_open_mode=0777
local_umask=000
Anon_upload_enable=no
Anon_mkdir_write_enable=yes
Anon_other_write_enable=yes
Anon_upload_enable=yes
Anon_max_rate=0
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 Cc.cifang FTP servers
Pam_service_name=vsftpd
Chroot_local_user=no
Chroot_list_enable=yes
Chroot_list_file=/etc/vsftpd/chroot_list
#charset_filter_enable =yes
#charset_client =gb2312

To create a new chroot_list file in the current directory, save the FTP user name password:

    www//user name
123456//password
Netfix//user name
123456//password

Create a corresponding user name

Useradd-g 50-c "ftp users"-d/www/public-s/sbin/nologin www

Linux VSFTPD Configuration

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.