由 goldfish 在 05-17-2003 11:07 发表:
为什么我的proftpd不能匿名登陆?
登陆时显示的信息是这样的:
331 Anonymous login ok,send your complete email address as your passward
pass xxxx
530 Login incorrect
由 goldfish 在 05-17-2003 11:11 发表:
我的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
RequireValidShell off
AnonRequirePassword off
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="">
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_由 dancingpig 在 05-17-2003 12:18 发表:_
49
50
51
52****
53
54
55
56
57
58send your complete email address as your passward
59
60早先的ftp要求匿名用户把自己的mail地址作为密码。你随便打个mail的地址看看
61
62
63
64
65* * *
66
67
68_由 goldfish 在 05-17-2003 12:46 发表:_
69
70
71
72****
73
74
75
76
77
78还是不能连啊,输了个email没有用,并且用linux下的普通用户也不能登陆,说是passward requied,我输入登陆linux的密码也没有用,是不是还要一些什么设置??3xs
79
80
81
82
83* * *
84
85
86_由 dancingpig 在 05-17-2003 13:00 发表:_
87
88
89
90****
91
92
93
94
95
96<anonymous ~ftp="">
97
98User ftp
99
100Group ftp
101
102UserAlias anonymous ftp
103
104MaxClients 10
105
106DisplayLogin welcome.msg
107
108DisplayFirstChdir .message
109
110<limit write="">
111
112DenyAll
113
114</limit>
115</anonymous>
116
117这样看看。你开个新的用户名,密码改掉。
118
119然后把User newusername
120
121Group newusername
122
123UserAlias newusername newusername
124
125这样看下登陆的上去嘛?
126
127
128
129
130* * *
131
132
133_由 goldfish 在 05-17-2003 14:17 发表:_
134
135
136
137****
138
139
140
141
142
143我重启了一下,serve没有自动运行,开启后出现致命错误:
144
145[root@GoldFish root]# /etc/rc.d/init.d/proftpd start
146
147Starting proftpd: - Fatal: AnonRequirePassword: directive not allowed in server config context
148
149看来有可能不是config的问题,我重新安装试试,谢谢各位
150
151
152
153
154* * *
155
156
157_由 dancingpig 在 05-17-2003 15:21 发表:_
158
159
160
161****
162
163
164
165
166
167不是。等下,我看看我的配置,晚点告诉你。
168
169
170
171
172* * *
173
174
175_由 myocean 在 05-17-2003 17:21 发表:_
176
177
178
179****
180
181
182
183
184
185你在</anonymous>
的前面加上
1<limit login="">
2
3AllowAll
4
5</limit>
试试
QQ:31817124
EMAIL:[email protected]
欢迎各位LINUXER和我交流经验.
由 goldfish 在 05-17-2003 18:06 发表:
1<limit login="">
2
3AllowAll
4
5</limit>
加了这一段还是跟原来一样:(
由 dancingpig 在 05-17-2003 19:03 发表:
AnonRequirePassword off
注释掉看下,然后把ftp用户的密码改为空。你这样看下
由 williampan 在 05-17-2003 22:37 发表:
我的问题也很怪的,我登录后可以看到目录里的文件,但就是下载不了,下载一个EXE文件可以了,但下载Mov文件就自动的跳过.然后打开目录显示没有这个目录文件,如图:
http://pandesheng.y365.com/nofile.png
http://pandesheng.y365.com/tiaoguo.png
我已经执行了chmod 777 /home/ftp/*的命令了,.我的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 "SoSo Ftp In ShangHai"
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