|
|
在proftpd.conf中设置匿名访问的字段如下:
<Anonymous ~ftp>
User ftp
Group ftp
# Allow logins if they are disabled above.
<Limit LOGIN>
AllowAll
</Limit>
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
可是连接的时候却出现下面的错误:
220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [127.0.0.1]
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530-Unable to set anonymous privileges.
530 Login incorrect.
它这里是不是说我现在系统里的ftp用户不能用啊?
这里的ftp用户似乎是安装proftp的时候安装上去的,在/etc/passwd中关于ftp的内容如下:
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
请问这是什么问题? |
|