proftpd.conf文件

来源:互联网 发布:封天战神坐骑进阶数据 编辑:程序博客网 时间:2024/06/05 05:13

# This is a basic ProFTPD configuration file (rename itto
# 'proftpd.conf' for actual use.  Itestablishes a single server
# and a single anonymous login.  It assumesthat you have a user/group
# "daemon" and "ftp" for normal operation and anon.

ServerName                  "ProFTPD"
ServerType                  standalone
DefaultServer                on

# Port 21 is the standard FTP port.
Port                        21
# Umask 022 is a good standard umask to prevent new dirs andfiles
# from being group and world writable.
Umask                       022

# To prevent DoS attacks, set the maximum number of childprocesses
# to 30.  If you need to allow more than 30concurrent connections
# at once, simply increase this value.  Notethat this ONLY works
# in standalone mode, in inetd mode you should use an inetdserver
# that allows you to limit maximum number of processes perservice
# (such as xinetd)
MaxInstances                 30

# Set the user and group that the server normally runsat.
User daemon
Group daemon

# Normally, we want files to be overwriteable.
  AllowOverwrite             on

# only for the web servers content
DefaultRoot /wwwroot/

                                                                                       
  DenyAll                                                                                               

# daemon gets the password "xampp"
UserPassword daemon 2TgxE8g184G9c

# daemon is no normal user so we have to allow users with noreal shell
RequireValidShell off

# daemon may be in /etc/ftpusers so we also have to ignorethis file
UseFtpUsers off
原创粉丝点击