筆者的proftpd.conf配置文件內(nèi)容為:
以下為引用的內(nèi)容:
#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 |
本文出自:億恩科技【mszdt.com】
服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
|