关于proftpd的

由 antai 在 08-30-2002 09:38 发表:

关于proftpd的

系统:RH7.3.92+proftpd-1.2.5(tar.gz)

理想:正确配置并显示welcome.msg

操作:因为装的tar.gz的包,又是默认安装的,所以proftpd.conf在/usr/local/etc,而proftpd在/usr/local/sbin。那么welcome.msg应该放在什么位置呢?

我试着在/var/ftp/建立,并在

 1<global>段里给出具体位置:/var/ftp/welcome.msg,但不成功!望各位老大指点 
 2
 3  
 4
 5
 6* * *
 7
 8  
 9_由 antai 在 08-30-2002 12:43 发表:_   
10  
11
12
13****
14
15  
16  
17
18
19要不这样吧,哪位兄弟有配的比较成功的,把proftpd.conf贴出来让大家瞧一下 
20
21  
22
23
24* * *
25
26  
27_由 afanofamd 在 08-30-2002 13:23 发表:_   
28  
29
30
31**我的proftpd.conf**
32
33  
34  
35
36
37ServerName "Absolute FTP Server V1.0 Ready......"   
38  
39ServerType standalone   
40  
41DefaultServer on   
42  
43AllowStoreRestart on   
44  
45# Port 21 is the standard FTP port.   
46  
47Port 1031   
48  
49# Umask 022 is a good standard umask to prevent new dirs and files   
50  
51# from being group and world writable.   
52  
53Umask 022   
54  
55AccessGrantMsg "Hello %u, welcome to visit my FTP SITE!"   
56  
57MaxInstances 30   
58  
59DefaultRoot ~ hjjh   
60  
61DefaultRoot ~ nothing   
62  
63  
64  
65User nobody   
66  
67Group nogroup   
68  
69#MaxClients 7   
70  
71MaxHostsPerUser 7 "对不起,已经到达该用户最大连接数,请稍候再试!"   
72  
73TimeoutIdle 30   
74  
75#RateReadBPS 20000   
76  
77#RateWriteBPS 10000   
78  
79MaxClientsPerHost 2 "对不起,同一个ip只允许有%m个连接!"   
80  
81<directory *="">   
82  
83AllowOverwrite on   
84  
85AllowRe</directory></global>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus