BTworm老大,你一定要帮帮我呀!(匿名用户不可以登陆)

由 hgkrt 在 05-15-2003 08:35 发表:

BTworm老大,你一定要帮帮我呀!(匿名用户不可以登陆)

就是关于proftpd的问题...我现在是系统用户可以登陆,但是匿名用户不可以..

怎么办???


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 hgkrt 在 05-15-2003 09:01 发表:


[root@linuxserver etc]# ../sbin/proftpd restart

[root@linuxserver etc]# ftp localhost

Connected to linuxserver.

220 ProFTPD 1.2.8 Server (hgkrt.minidns.net) [linuxserver]

Name (localhost:hgkrt): anonymous

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

Password:

530 Login incorrect.

Login failed.

Remote system type is UNIX.

Using binary mode to transfer files.

显示就是这样,改了好几次了...都不行...


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 jkm 在 05-15-2003 09:43 发表:

应该还是目录的问题啊

建立一个/var/ftp试试看,或者改一下proftpd.conf,确保ftp用户的目录存在


由 hgkrt 在 05-15-2003 09:46 发表:


必须要有ftp目录嘛??

我设置的是/web/ftp...在anonymous里...


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 jkm 在 05-15-2003 10:13 发表:

问题是你的proftpd.conf里面设置的目录是什么?

必须确保这个目录存在


由 hgkrt 在 05-15-2003 10:20 发表:


我是这么设置的...

ServerName "hgkrt.minidns.net"

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

Allow anonymous login

RequireValidShell off

Display server info,off is not display

ServerIdent off

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 /web/ftp

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="" web="">   
  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  
 13UserAlias anonymous ftp   
 14  
 15  
 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  
 49  
 50主机:   
 51  
 52http://hgkrt.minidns.net/   
 53  
 54  
 55  
 56网上空间:   
 57  
 58http://www.paw.hi-ho.ne.jp/hgkrt 
 59
 60  
 61
 62
 63* * *
 64
 65  
 66_由 jkm 在 05-15-2003 10:25 发表:_   
 67  
 68
 69
 70****
 71
 72  
 73  
 74
 75
 76不知道了,看不出错误 
 77
 78  
 79
 80
 81* * *
 82
 83  
 84_由 hgkrt 在 05-15-2003 10:33 发表:_   
 85  
 86
 87
 88****
 89
 90  
 91  
 92
 93
 94我刚才又重装了一次...然后就把它的proftpd.conf里的<anonymous ~ftp="">改成<anonymous ftp="" web="">,   
 95  
 96  
 97  
 98然后启动后发现,还是不能登陆...用匿名...系统用户还是可以... 
 99
100__________________   
101  
102  
103  
104欢迎访问我的个人主页!!!   
105  
106  
107  
108主机:   
109  
110http://hgkrt.minidns.net/   
111  
112  
113  
114网上空间:   
115  
116http://www.paw.hi-ho.ne.jp/hgkrt 
117
118  
119
120
121* * *
122
123  
124_由 quanliking 在 05-15-2003 10:35 发表:_   
125  
126
127
128****
129
130  
131  
132
133
134mkdir /web/ftp   
135  
136注意这个目录的权限,ls -l 查看。   
137  
138可以用 chown 修改,如:   
139  
140chown -R ftp:ftp /web/ftp 
141
142__________________   
143  
144There are two distinct opinions:   
145  
146One would say, "The love of money is the root of all evil."   
147  
148The other, "The lack of money is the root of all evil."   
149  
150Which one i should take, that is the question. 
151
152  
153
154
155* * *
156
157  
158_由 hgkrt 在 05-15-2003 10:40 发表:_   
159  
160
161
162****
163
164  
165  
166
167
168对呀,我怎么没做这个..这就去..多谢老大指点... 
169
170__________________   
171  
172  
173  
174欢迎访问我的个人主页!!!   
175  
176  
177  
178主机:   
179  
180http://hgkrt.minidns.net/   
181  
182  
183  
184网上空间:   
185  
186http://www.paw.hi-ho.ne.jp/hgkrt 
187
188  
189
190
191* * *
192
193  
194_由 hgkrt 在 05-15-2003 10:41 发表:_   
195  
196
197
198****
199
200  
201  
202
203
204报告老大,我是nobody:nobody的...   
205  
206  
207  
208[root@linuxserver /web]# ls -l   
209  
210total 24   
211  
212drwxrwxrwx 6 nobody nobody 4096 May 13 20:04 ftp  
213
214__________________   
215  
216  
217  
218欢迎访问我的个人主页!!!   
219  
220  
221  
222主机:   
223  
224http://hgkrt.minidns.net/   
225  
226  
227  
228网上空间:   
229  
230http://www.paw.hi-ho.ne.jp/hgkrt 
231
232  
233
234
235* * *
236
237  
238_由 hgkrt 在 05-15-2003 10:45 发表:_   
239  
240
241
242****
243
244  
245  
246
247
248怎么还是不行??我改成ftp的了...   
249  
250  
251  
252但是我做proftpd restart好像没有反映...和以前的结果一样...   
253  
254  
255  
256好像没有变化... 
257
258__________________   
259  
260  
261  
262欢迎访问我的个人主页!!!   
263  
264  
265  
266主机:   
267  
268http://hgkrt.minidns.net/   
269  
270  
271  
272网上空间:   
273  
274http://www.paw.hi-ho.ne.jp/hgkrt 
275
276  
277
278
279* * *
280
281  
282_由 quanliking 在 05-15-2003 10:52 发表:_   
283  
284
285
286****
287
288  
289  
290
291
292在 <anonymous ftp="" web=""> 后面加上&lt;br</anonymous></anonymous></anonymous></anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus