LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1102|回复: 10

proftpd不能匿名登录

[复制链接]
发表于 2003-4-1 14:44:22 | 显示全部楼层 |阅读模式
我在LINUX70下安装的PROFTPD1.2.8,用Anonymous登录本机出现以下错误信息:

530 login incorrect
login failed
Remote system type is Unix
Using binary mode to transfer files.

proftpd.conf如下:


ServerName "roFTPD Default Installation"
ServerType standalone
DefaultServer on

Port 21

Umask 022

MaxInstances 30

User nobody
Group nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

<Directory />
AllowOverwrite on
</Directory>

<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
发表于 2003-4-1 18:02:08 | 显示全部楼层
530 login incorrect
login failed
Remote system type is Unix
Using binary mode to transfer files.
我很奇怪,看你的配置和顶上的没问题。我当时就用这个配置做了个用户名进去的,你先看看其他的用户行吗。还有你的错误信息似乎没说不能用匿名哦。你在ftp下打bin看看。按照他的提示信息是你的传输设置错误。
发表于 2003-4-1 20:07:28 | 显示全部楼层
在/usr/local/etc/proftpd.conf,添加如下命令指示:

RequireValidShell off
发表于 2003-4-1 22:47:37 | 显示全部楼层
我试了一下,不行
是不是没有建匿名用户的目录的原因啊??
发表于 2003-4-2 11:04:58 | 显示全部楼层
<anonymous ~ftp>
remove "~ftp" and try again
 楼主| 发表于 2003-4-2 12:48:29 | 显示全部楼层
是没有建匿名用户的目录的原因
发表于 2003-4-2 15:39:09 | 显示全部楼层
把 "~ftp" 去掉了ftp根本启动不了~~~
发表于 2003-4-3 10:42:42 | 显示全部楼层
加这句试试:
<Limit LOGIN>
    AllowAll
  </Limit>
发表于 2003-4-3 13:01:34 | 显示全部楼层

。。。

在/var下面建个ftp 目录试试看?
发表于 2003-4-3 20:59:02 | 显示全部楼层
将<anonymous ~ftp>改为你要为anonymous提供的目录.好比<anonymous /home/ftp>,当然,这个目录要存在才可以啦!另外,还要注意其访问权限.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表