当前位置: 首页 > 图文教程 > 服务器 > FTP服务器 > ProFtpd快速指南(六)

FTP服务器
FTP命令详解
Freebsd下用pureftpd配置FTP服务器
FTP非交互方式文件传输
构造公司内部Web、FTP服务器
基于UNIX平台FTP服务器的建立
用tar包配置高可用性vsftp(上)
用tar包配置高可用性vsftp (中)
用tar包配置高可用性vsftp (下)
ISA下FTP的解决办法(1)
ISA下FTP的解决办法(2)
ISA下FTP的解决办法(3)
ISA下FTP的解决办法(4)
proftp配置全功略 FTP
全国大学FTP站列表
关于ftp服务程序中不安全因素研究
ftp操作常识问题集锦
ProFtpd快速指南(一)
如何设置FTP的主动模式和被动模式?
网管员安全训练营--让FTP服务器更安全(1)
ProFtpd快速指南(二)

FTP服务器 中的 ProFtpd快速指南(六)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-17   浏览: 45 ::
收藏到网摘: n/a

笔者的proftpd.conf配置文件内容为:
  

以下为引用的内容:
  #ThisisabasicProFTPDconfigurationfile(renameitto
  #proftpd.confforactualuse.Itestablishesasingleserver
  #andasingleanonymouslogin.Itassumesthatyouhaveauser/group
  #"nobody"and"ftp"fornormaloperationandanon.
  
  ServerName&!quot;test.com.cnFTPServer"
  ServerTypestandalone
  DefaultServeron
  
  #Port21isthestandardFTPport.
  Port21
  #Umask022isagoodstandardumasktopreventnewdirsandfiles
  #frombeinggroupandworldwritable.
  Umask022
  
  #TopreventDoSattacks,setthemaximumnumberofchildprocesses
  #to30.Ifyouneedtoallowmorethan30concurrentconnections
  #atonce,simplyincreasethisvalue.NotethatthisONLYworks
  #instandalonemode,ininetdmodeyoushoulduseaninetdserver
  #thatallowsyouto&!nbsp;limitmaximumnumberofprocessesper service
  #(suchasxinetd)
  MaxInstances30
  
  
  RequireValidShelloff
  ServerIdentoff
  
  
  #Settheuserandgroupthattheservernormallyrunsat.
  Usernobody
  Groupnobody
  
  #Normally,wewantfilestobeoverwriteable.
  <Directory/*>
  AllowOverwriteon
  </Directory>
  
  #Abasicanonymousconfiguration,nouploaddirectories.
  <Anonymous/home/ftp>
  Userftp
  Groupftp
  #Wewantclientstobeabletologinwith"anonymous"aswellas"ftp"
  UserAliasanonymousftp