为什么不能匿名登录?提示"联接被断开"

由 aweil 在 05-21-2003 19:11 发表:

为什么不能匿名登录?提示"联接被断开"

我的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 under which the server will run.

User nobody

Group nobody

To cause every FTP user to be "jailed" (chrooted) into their home

directory, uncomment this line.

#DefaultRoot ~

Normally, we want files to be overwriteable.

1<directory></directory>

AllowOverwrite on

A basic anonymous configuration, no upload directories. If you do not

want anonymous users, simply delete this entire

  1<anonymous> section.   
  2  
  3<anonymous ftp="" home="" zhanwei="">   
  4  
  5User ftp   
  6  
  7Group ftp   
  8  
  9  
 10  
 11# We want clients to be able to login with "anonymous" as well as "ftp"   
 12  
 13  
 14  
 15UserAlias anonymous ftp   
 16  
 17# Limit the maximum number of anonymous logins   
 18  
 19MaxClients 10   
 20  
 21  
 22  
 23# We want 'welcome.msg' displayed at login, and '.message' displayed   
 24  
 25# in each newly chdired directory.   
 26  
 27DisplayLogin welcome.msg   
 28  
 29DisplayFirstChdir .message   
 30  
 31  
 32  
 33# Limit WRITE everywhere in the anonymous chroot   
 34  
 35<limit write="">   
 36  
 37DenyAll   
 38  
 39</limit>
 40</anonymous>
 41
 42  
 43
 44
 45* * *
 46
 47  
 48_由 harrypotter 在 05-21-2003 19:30 发表:_   
 49  
 50
 51
 52****
 53
 54  
 55  
 56
 57
 58login:ftp   
 59  
 60passwd:ftp   
 61  
 62同时检查有没有ftp,nobody这两个组。 
 63
 64__________________   
 65  
 66Harry Potter LOTR GnOmE!   
 67  
 68*********************   
 69  
 70新机子:p4c-1.7+512DDR+40G(Fedora Core 1:15G)+ac97+geforce2MX400   
 71  
 72*********************   
 73  
 74http://freshmeat.net/projects/mydiary/ 
 75
 76  
 77
 78
 79* * *
 80
 81  
 82_由 aweil 在 05-22-2003 09:44 发表:_   
 83  
 84
 85
 86****
 87
 88  
 89  
 90
 91
 92这两个组我都有,但是......   
 93  
 94# /usr/sbin/proftpd start   
 95  
 96bash: /usr/sbin/proftpd: No such file or directory 
 97
 98__________________   
 99  
100__________________________   
101  
102fc3   
103  
104dell inspiron|2650 
105
106  
107
108
109* * *
110
111  
112_由 dancingpig 在 05-22-2003 11:47 发表:_   
113  
114
115
116****
117
118  
119  
120
121
122No such file or directory 
123
124  
125
126
127* * *
128
129  
130_由 aweil 在 05-22-2003 12:19 发表:_   
131  
132
133
134****
135
136  
137  
138
139
140how can i do?   
141  
142i install it with 4 s</anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus