Simple configuration of the Vsftp

Source: Internet
Author: User

Client Installation:Yum install vsftp–y

Direct Service vsftpd start can be used.
1. Basic Configuration

vim/etc/vsftpd/vsftpd.conf
Anonymous User Configuration:
Whether anonymous user logon is supported:Anonymous_enable=yes
Whether to support anonymous user uploads:#anon_upload_enable =yes
Whether anonymous users are supported to create directories:Anon_mkdir_write_enable=yes
Whether anonymous users are supported to delete directories:Anon_other_write_enable=yes
System User Configuration:
Whether to support local users:Local_enable=yes
System User Write permissions:Write_enable=yes
Imprison system users can only be in their own home directory :#chroot_local_user =yes
To imprison a specified user in his or her home directory:#chroot_list_enable =yes、chroot_list_file=/etc/vsftpd/chroot_list

2 ,vsftpd 's advanced applications
Vim/etc/vsftpd/vsftpd.conf
System User Configuration:
Create a . message file under any directory in FTP that appears when the user enters the directory . Message content Dirmessage_enable=yes
Whether to enable the transfer log:Xferlog_enable=yes

Specify log format:xferlog_std_format=yes
Specify log file location:#xferlog_file =/var/log/xferlog

Modified Upload user owner:#chown_uploads =yes

Specify modify upload User:#chown_username =whoever
Set User timeout Length:#idle_session_timeout =600
Data connection Timeout Length:#data_connection_timeout =120

Information displayed when you log in to FTP :#ftpd_banner =welcome to blah ftpservice.

pam_service_name=vsftpd configuration file in:/etc/pam.d/vsftpd defines the Pam module used

( Whether user login list file is enabled, default profile /etc/vsftpd/user_list ( manually created ):userlist_enable=yes

Whether to enable /etc/vsftpd/user_list list file:userlist_deny=yes|no)

Tcp_wrappers=yes TCP Package


Simple configuration of the Vsftp

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.