|
|
配置简要说明:禁止匿名访问。。设定专用帐号:ftp ,禁止除了ftp之外的系统用户登录
但是登录的时候输入密码后就是“530 login incorectr”
下面是配置文件。。哪位大哥帮忙一下。
ServerName "proftpd ftp server..."
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User ftp
Group ftp
UseReverseDNS off
IdentLookups off
MaxLoginAttempts 3
MaxClientsPerHost 2 "对不起,每个帐户在每个客户端最多可以同时登陆2次"
MaxClients 20
DirFakeUser On ftp
DirFakeGroup On ftp
#DeferWelcome On
SystemLog /var/log/proftpd.log
ServerIdent off
DefaultRoot ~ ftp,ftp
#<limit LOGIN>
#Order allow,deny
#Allow from 219.246.0
#Deny from all
#</limit>
<limit LOGIN>
Order allow,deny
DenyUser !ftp
</limit>
<Directory />
AllowOverwrite on
AllowStoreRestart on
<Limit All>
AllowAll
</Limit>
</Directory>
<Directory /home/ftp/uploads>
<Limit DELE RNFR RNTO RMD XRMD >
DenyUser ftp
</Limit>
</Directory> |
|