由 yujian715 在 11-01-2002 15:03 发表:
ftp的匿名问题!
ftp的其他用户可以进!但匿名不能进:
[root@yujian root]# ftp 172.16.1.111
Connected to 172.16.1.111.
220 ProFTPD 1.2.6rc1 Server (ProFTPD Default Installation) [yujian]
500 AUTH not understood.
500 AUTH not understood.
KERBEROS_V4 rejected as an authentication type
Name (172.21.1.111:root): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
530-Unable to set anonymous privileges.
530 Login incorrect.
Login failed.
ftp> by
这是什么问题呢?
由 n0fe@r 在 11-03-2002 20:26 发表:
把你的配置文件贴出来看看
由 raullpq 在 11-04-2002 17:33 发表:
我碰到过,你应该用的是7。2。试试把ftp的用户目录改成/home/ftp然后把目录的权限设一下,重启服务
一个默默无闻的SA [ I like Linux ]
准备开始加入Gentoo一族~拉拉~~
由 yujian715 在 11-05-2002 08:24 发表:
This is a basic ProFTPD configuration file (rename it to
'proftpd.conf' for actual use. It establishes a single server
and a single anonymous login. It assumes that you have a user/group
"nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 21 is the standard FTP port.
Port 21
Umask 022 is a good standard umask to prevent new dirs and files
from being group and world writable.
Umask 022
To prevent DoS attacks, set the maximum number of child processes
to 30. If you need to allow more than 30 concurrent connections
at once, simply increase this value. Note that this ONLY works
in standalone mode, in inetd mode you should use an inetd server
that allows you to limit maximum number of processes per service
(such as xinetd)
MaxInstances 30
Set the user and group that the server normally runs at.
User nobody
Group nobody
RequireValidShell off
DefaultRoot ~ test
DefaultRoot ~/ftp test
DefaultRoot /home/ftp
DefaultRoot /home/ftp
ServerIdent off
Normally, we want files to be overwriteable.
1<directory *="">
2
3AllowOverwrite on
4
5</directory>
A basic anonymous configuration, no upload directories.
1<anonymous ftp="" home="">
2
3User ftp
4
5Group ftp
6
7anonRequirePassword off
8
9<br</anonymous>