Yum installs FTP and detailed configuration and log settings

Source: Internet
Author: User

FTP installation is simple, yum install-y vsftpd but it has a lot of configuration content, see http://www.cnblogs.com/hnrainll/archive/2011/02/16/1956538.html

I personally think the author is very detailed, which requires a few points of attention, here to say.

1, user_list this file content

# vsftpd userlist# If Userlist_deny=no, only allow users on this file# if Userlist_deny=yes (default), never allow users I n This file, and# does not even prompt for a password.# Note, the default vsftpd Pam Config also checks/etc/vsftpd/ftpu sers# for users, that is denied.

You need to include Userlist_deny=no in the vsftpd.conf file so that the FTP user name is written in this file, which means that the user is allowed to log on.

2. Chroot setting

Chroot_list_enable=yeschroot_list_file=/etc/vsftpd/chroot_list

These two parameters in the vsftpd.conf file need to join, and then add the FTP user name in the chroot_list file, this user name is limited, can not jump out, access to other directories.

3. Log Settings

Xferlog_enable=yesdual_log_enable=yesxferlog_file=/var/log/ftp.logvsftpd_log_file=/var/log/vsftpd.log

In this way, when the FTP encountered a problem, login not, upload failure, etc., you can query the log, faster to determine the problem.

For log analysis, please see http://www.qianshoublog.com/post/8411.html


This article is from the "Ops Space" blog, so be sure to keep this source http://drinkboy.blog.51cto.com/10606290/1717151

Yum installs FTP and detailed configuration and log settings

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.