CentOS secure vsftpd FTP Server

Source: Internet
Author: User

Why is this secondary issue of installing vsftpd uneasy about proftpd? In fact, there is only one reason, that is, vsftpd directly supports UTF8 and automatically uploads it to the Client-side FTP host system.

1. Installing vsftpd:

Yum-y install vsftpdtouch/etc/vsftpd/chroot_listchkconfig vsftpd on

2. After the installation is complete, allow the fire shield to pass through Port 21:

Iptables-a input-m state -- state NEW-m tcp-p tcp -- dport 21-j ACCEPTservice iptables save

3. zookeeper "/etc/vsftpd. conf", find:

Anonymous_enable = YES

Change YES to NO.
If you want to restrict the use of tokens, you can only add them to your home project:

# Restricted objects can only be used at home (/etc/vsftpd/chroot_list objects can be unrestricted) chroot_local_user = YESchroot_list_enable = YESchroot_list_file =/etc/vsftpd/chroot_list

If you want to view the same time as the Server in the ftp case list, add the following in the case of ftp:

# Use the local time zone use_localtime = YES

4. Dynamic vsftpd:

Service vsftpd start


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.