参考一个proftp的配置

发表于:2007-06-08来源:作者:点击数: 标签:
以后可以看看,尝试做一个……br 现在的时间就是紧张啊 …… ServerName FTP Server ServerType standalone DefaultServer on Port 21 Umask 022 MaxInstances 30 SystemLog /var/ouren/ftp/proftpd.log User zgzup Group zgzup UseReverseDNS off IdentLook

以后可以看看,尝试做一个……<br>

现在的时间就是紧张啊 ……

ServerName                      " FTP Server"
ServerType                      standalone
DefaultServer                   on
Port                            21
Umask                           022
MaxInstances                    30
SystemLog /var/ouren/ftp/proftpd.log
User                            zgzup
Group                           zgzup

UseReverseDNS off
IdentLookups off
MaxLoginAttempts 3
MaxClients 10

DirFakeUser On ftp
DirFakeGroup On ftp
DeferWelcome On
ServerIdent off

DefaultRoot ~
#AllowOverwrite         on

#<limit LOGIN>
#Order allow,deny
#DenyUser !zgzup
#</limit>

<Limit SITE_CHMOD>
  DenyAll
</Limit>

<Directory />
  AllowOverwrite                on
  AllowStoreRestart             on
# AllowForeignAddress             on
<Limit APPE DELE MKD RMD RNTO STOR XMKD XRMD>
DenyUser zgzup
</Limit>
</Directory>

<Directory /backup/ftp_data>
<Limit ALL>
AllowUser admini_ftp
</Limit>
</Directory>

<Directory /backup/ftp_data/upload>
<Limit APPE MKD STOR>
AllowUser zgzup
</Limit>
</Directory>

<Directory /backup/ftp_data/upload>
<Limit WRITE>
AllowUser  admini_ftp
</Limit>
</Directory>

<Anonymous ~ftp>
  User                          ftp
  Group                         ftp
  UserAlias                     anonymous ftp
  MaxClients                    3
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message
  <Limit WRITE>
    DenyAll
</Limit>
</Anonymous>

原文转自:http://www.ltesting.net