新手建ftp 个位来帮忙阿

由 athlon_r 在 10-07-2004 21:29 发表:

新手建ftp 个位来帮忙阿

这是我的proftpd.conf

不知那里出了问题 我的ftp就是登录不上

"USER anonymous

331 Anonymous login ok, send your complete email address as your password.

PASS xxxx

530 Login incorrect."

我的要求很简单 只要能密名访问/home/ftp目录 能下载就行

这是我按照 精华贴配置的proftpd.conf 不知道是那出了问题

小生用的是 slackware 10.0

This is a basic ProFTPD configuration file.

It establishes a single server and a single anonymous login.

It assumes that you have a user/group "nobody" and "ftp"

for normal/anonymous operation.

ServerName "Athlon_r's FTP"

ServerType standalone

#ServerType inetd

DefaultServer on

Port 21 is the standard FTP port.

Port 6868

Umask 022 is a good standard umask to prevent new dirs and files

from being group and world writable.

Umask 022

UseReverseDNS off

To prevent DoS attacks, set the maximum number of c hild 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 160

Set the user and group that the server normally runs at.

User nobody

Group nogroup

This next option is required for NIS or NIS+ to work properly:

#PersistentPasswd off

SystemLog /var/log/proftpd.log

TransferLog /var/log/xferlog

Normally, we want files to be overwriteable.

1<directory *="">   
2  
3AllowOverwrite on   
4  
5</directory>

A basic anonymous FTP server configuration.

To enable this, remove the user ftp from /etc/ftpusers.

 1<anonymous ftp="" home="">   
 2  
 3RequireValidShell off   
 4  
 5User ftp   
 6  
 7Group ftp   
 8  
 9# We want clients to be able to login with "anonymous" as well as "ftp"   
10  
11UserAlias anonymous ftp   
12  
13  
14  
15# Limit the maximum number of anonymous logins   
16  
17MaxClients 6   
18  
19  
20  
21# We want 'welcome.msg' displayed at login, and '.message' displayed   
22  
23# in each newly chdired directory.   
24  
25DisplayLogin welcome.msg   
26  
27DisplayFirstChdir .message   
28  
29  
30  
31# Limit WRITE everywhere in the anonymous chroot   
32  
33<limit write="">   
34  
35DenyAll   
36  
37</limit>   
38  
39  
40  
41# An upload directory that allows storing files but not retrieving   
42  
43# or creating directories.   
44  
45# <directory *="" incoming="">   
46  
47# <limit read="">   
48  
49# DenyAll   
50  
51# </limit>   
52  
53#   
54  
55# <limit stor="">   
56  
57# AllowAll   
58  
59# </limit>   
60  
61# </directory>
62</anonymous>

PIII1.13G+GAi815EP+256SDRAM+GF4-440+Maxtor40G-7200rpm+R8139

Slackware10.0+Windows2000(sp4)


由 athlon_r 在 10-08-2004 17:50 发表:


沉了...


PIII1.13G+GAi815EP+256SDRAM+GF4-440+Maxtor40G-7200rpm+R8139

Slackware10.0+Windows2000(sp4)


由 athlon_r 在 10-09-2004 13:35 发表:


又沉了

版主 那去了...


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus