由 羽枫 在 04-11-2004 13:51 发表:
Proftpd 匿名进不去,请问是什么原因?
Proftpd 匿名进不去,请问是什么原因?
提示:
220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [localhost.localdomain]
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.
正在断开与服务器 192.168.50.23 的连接
系统: WindowsXP+Linux Fedora Core
CPU : P42.0G
内存:SAMSUNG×DDR256M
主板: 跆基TK-VDP4XAD (+AC'97)
硬盘: Maxtor 60G
显卡 : NVIDIA GeForce2 MX
由 羽枫 在 04-11-2004 14:01 发表:
我的PROFTPD.CONF:
---------------------------------------------------------------------------
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 ftp
Group ftp
Normally, we want files to be overwriteable.
1<directory *="">
2
3AllowOverwrite on
4
5</directory>
A basic anonymous configuration, no upload directories.
1<anonymous bluevince="" home="">
2
3User ftp
4
5Group ftp
6
7# We want clients to be able to login with "anonymous" as well as "ftp"
8
9UserAlias anonymous ftp
10
11
12
13# Limit the maximum number of anonymous logins
14
15MaxClients 10
16
17
18
19# We want 'welcome.msg' displayed at login, and '.message' displayed
20
21# in each newly chdired directory.
22
23DisplayLogin welcome.msg
24
25DisplayFirstChdir .message
26
27
28
29# Limit WRITE everywhere in the anonymous chroot
30
31<limit write="">
32
33DenyAll
34
35</limit>
36</anonymous>
系统: WindowsXP+Linux Fedora Core
CPU : P42.0G
内存:SAMSUNG×DDR256M
主板: 跆基TK-VDP4XAD (+AC'97)
硬盘: Maxtor 60G
显卡 : NVIDIA GeForce2 MX
由 Glue 在 04-11-2004 14:45 发表:
检查一下/etc/passwd里,ftp用户有没有shell。
-_-
由 羽