由 Fedora000 在 12-08-2003 13:45 发表:
proftpd问题请教
小弟新装了proftpd,但出了点问题,想向各位大虾请教
用rpm装的
roftpd-1.2.8-2.i386.rpm
配置文件如下:
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="">
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我只是将Group nogroup 改成了 Group nobody
43
44现象是:
45
46[root@Linux root]# /etc/rc.d/init.d/proftpd start
47
48Starting proftpd: [ 确定 ]
49
50[root@Linux root]# /etc/rc.d/init.d/proftpd status
51
52proftpd 已死,但是 subsys 被锁
53
54无法登陆也无法stop
55
56thanks!
57
58
59
60
61* * *
62
63
64_由 Fedora000 在 12-08-2003 13:46 发表:_
65
66
67
68****
69
70
71
72
73
74 roftpd-1.2.8-2.i386.rpm
75
76应为:proftpd-1.2.8-2.i386.rpm
77
78
79
80
81* * *
82
83
84_由 北南南北 在 12-08-2003 15:22 发表:_
85
86
87
88****
89
90
91
92
93
94这样来试一下
95
96
97
98rm -rf /etc/shutmsg
99
100__________________
101
102===========================
103
104请弟兄们发帖时要写个好标题,多谢!
105
106===========================
107
108每天以1000KM/H的速度在跑,感觉还是时间不够:(
109
110“西学东渐,洋为中用” + 创造 = ?
111
112linux ppc
113
114
115
116
117* * *
118
119
120_由 Fedora000 在 12-08-2003 16:28 发表:_
121
122
123
124****
125
126
127
128
129
130为什么先要这样做?
131
132
133
134
135* * *
136
137
138_由 Fedora000 在 12-08-2003 17:02 发表:_
139
140
141
142****
143
144
145
146
147
148我找不到/etc/shutmsg文件。另外我发现一个问题:当我拔掉网线启动系统后,一切都是好的,再插上网线也行。但我插上网线时启动系统时,就会出这种错误。
149
150thanks!
151
152
153
154
155* * *
156
157
158_由 Fedora000 在 12-09-2003 09:42 发表:_
159
160
161
162****
163
164
165
166
167
168顶一下
169
170
171
172
173* * *
174
175
176_由 Fedora000 在 12-09-2003 15:32 发表:_
177
178
179
180****
181
182
183
184
185
186再顶!
187
188
189
190
191* * *
192
193
194_由 flook 在 12-09-2003 17:11 发表:_
195
196
197
198****
199
200
201
202
203
204你用的是哪个red hat?还是mdk??
205
206
207
208
209* * *
210
211
212_由 Fedora000 在 12-10-2003 09:03 发表:_
213
214
215
216****
217
218
219
220
221
222小弟用的是fedora 1.0
223
224
225
226
227* * *
228
229
230_由 北南南北 在 12-10-2003 10:32 发表:_
231
232
233
234****
235
236
237
238
239
240> quote:
241>
242> * * *
243>
244> _最初由 Fedora000 发表_
245>
246> **小弟用的是fedora 1.0**
247>
248> * * *
249
250
251
252
253
254用源码包来安装一下试试看
255
256
257
258__________________
259
260===========================
261
262请弟兄们发帖时要写个好标题,多谢!
263
264===========================
265
266每天以1000KM/H的速度在跑,感觉还是时间不够:(
267
268“西学东渐,洋为中用” + 创造 = ?
269
270linux ppc
271
272
273
274
275* * *
276
277
278_由 Fedora000 在 12-10-2003 10:36 发表:_
279
280
281
282****
283
284
285
286
287
288好的,我试试
289
290thanks!
291
292
293
294
295* * *
296
297
298_由 Fedora000 在 12-10-2003 14:1_</anonymous>