PureFTPd configuration file Overview

Source: Internet
Author: User
Tags ldap

PureftpdIt is a fast, high-quality, and fully functional ftp server. The most important thing is that it supports setting the Default Client encoding. Today I will give you a detailed introduction to the PureFTPd configuration file.

# If you want to use the configuration file instead of the command line option to run Pure-FTPd, run the following command:

 
 
  1. # /usr/local/pureftpd/sbin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf  
  2.  

# By default, RPM uses another configuration file:

 
 
  1. # /etc/sysconfig/pure-ftpd  

# Please do not forget to browse the http://www.pureftpd.org/documentation.html

# Document to view the list of all options.

# Restrict all users in their home directories

ChrootEveryone yes

# If the previous command is set to "no", the following group members (GID) are not restricted by the main directory. Other users

# It will be restricted to its own home directory. If you don't want to restrict any users to your home directory, just comment out ChrootEveryone.

# And TrustedGID.

# TrustedGID 100

# Compatible with non-formal ftp clients such as ie

BrokenClientsCompatibility no

# Maximum number of users allowed to connect simultaneously on the server

MaxClientsNumber 50

# Running as a daemon process (Fork in background)

Daemonize yes

# Number of users simultaneously connected to the same IP address (Maximum number of sim clients with the same IP address)

MaxClientsPerIP 8

# If you want to record all customer commands, set this command to "yes ".

# This directive can be duplicated to also log server responses.

VerboseLog no

# Even if the client does not send the '-a' option, the hidden files (dot-files) are listed ).

DisplayDotFiles yes

# Users cannot be authenticated-only as a public anonymous FTP.

AnonymousOnly no

# Anonymous connections are not allowed. Only Authenticated Users are allowed to use them.

NoAnonymous no

# Syslog facility (auth, authpriv, daemon, ftp, security, user, local *)

# The default function (facility) is "ftp ". "None" will disable logs.

SyslogFacility ftp

# Display fortune cookies)

# FortunesFile/usr/share/fortune/zippy

# Do not parse the host name in the log file. If the log is not so detailed, it uses less bandwidth. In a large volume of traffic

# In the site, set this command to "yes", if you do not have a working DNS.

DontResolve yes

# Maximum idle time allowed by the client (in minutes, 15 minutes by default)

MaxIdleTime 15

# LDAP configuration file (refer to README. LDAP)

# LDAPConfigFile/etc/pureftpd-ldap.conf

# MySQL configuration file (refer to README. MySQL)

# MySQLConfigFile/etc/pureftpd-mysql.conf

# Postgres configuration file (refer to README. PGSQL)

# PGSQLConfigFile/etc/pureftpd-pgsql.conf

# PureDB user database (refer to README. Virtual-Users)

# PureDB/etc/pureftpd. pdb

# Pure-authd socket path (refer to README. Authentication-Modules)

# ExtAuth/var/run/ftpd. sock

# If you want to enable the PAM Authentication Method, remove the comments in the following line.

# PAMAuthentication yes

# If you want to enable simple Unix system authentication (/etc/passwd), remove the following line of comment.

# UnixAuthentication yes

# Note: LDAPConfigFile, MySQLConfigFile, PAMAuthentication, and

# UnixAuthentication commands can only be used once. However, they can be used together. For example, if you use

# MySQLConfigFile and UnixAuthentication, the SQL server will be accessed. If the user name is not found

# If SQL authentication fails, another authentication will be attempted in/etc/passwd and/etc/shadow.

# If SQL authentication fails due to a wrong password, authentication will end here. Authentication methods are chained by the order they are given

# Connect.

# 'LS' command recursion restrictions. The first parameter indicates the maximum number of files displayed. The second parameter specifies the maximum subdirectory depth.

LimitRecursion 2000 8

# Can anonymous users create new directories?

AnonymousCanCreateDirs no

# If the system is loaded more than the following value, anonymous users are prohibited from downloading.

MaxLoad 4

# Port range of the passive connection response. -For firewalling.

# PassivePortRange 30000 50000

# Force a passive response (PASV/EPSV/SPSV replies) to an IP address ). -For NAT.

# Symbolic host names are also accepted for always ways with dynamic IP

# Addresses.

# ForcePassiveIP 192.168.0.1

Through the description and analysis of this article, we have roughly understood the Chinese description and code of the PureFTPd configuration file. I hope this article will help you!

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.