熟悉proftpd 的朋友请帮我一下

由 sxtywujian 在 10-15-2003 13:26 发表:

熟悉proftpd 的朋友请帮我一下

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 ~ root

Normally, we want files to be overwriteable.

1<directory></directory>

AllowOverwrite off

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="">   
  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以上我的config请问:   
 47  
 48DefaultRoot ~ root   
 49  
 50这条指令为什么不起作用?现象是root 不能logon   
 51  
 52哪位朋友帮忙解决一下,非常非常非常的感谢~! 
 53
 54__________________   
 55  
 56~~如果不想在世界上虚度一生,那就要学习一辈子~~   
 57  
 58  
 59  
 60~~竭力履行你的义务,你应该就会知道,你到底有多大价值~~ 
 61
 62  
 63
 64
 65* * *
 66
 67  
 68_由 sxtywujian 在 10-17-2003 10:40 发表:_   
 69  
 70
 71
 72****
 73
 74  
 75  
 76
 77
 78怎么就没人回复吗? 
 79
 80__________________   
 81  
 82~~如果不想在世界上虚度一生,那就要学习一辈子~~   
 83  
 84  
 85  
 86~~竭力履行你的义务,你应该就会知道,你到底有多大价值~~ 
 87
 88  
 89
 90
 91* * *
 92
 93  
 94_由 pandonny 在 10-17-2003 10:44 发表:_   
 95  
 96
 97
 98****
 99
100  
101  
102
103
104DefaultRoot   
105  
106这条配置不是限制登陆用的,是限制登陆后的根目录用的,默认ftp都不支持root登陆的 
107
108__________________   
109  
110关爱社区,共建家园! 
111
112  
113
114
115* * *
116
117  
118_由 sxtywujian 在 10-20-2003 14:41 发表:_   
119  
120
121
122****
123
124  
125  
126
127
128还是对PROFTPD理解的不够至今还模糊   
129  
130哎~~~ 
131
132__________________   
133  
134~~如果不想在世界上虚度一生,那就要学习一辈子~~   
135  
136  
137  
138~~竭力履行你的义务,你应该就会知道,你到底有多大价值~~ 
139
140  
141
142
143* * *
144
145  
146_由 大熊宝宝 在 10-20-2003 17:45 发表:_   
147  
148
149
150****
151
152  
153  
154
155
156DefualtRoot ~ linux   
157  
158  
159  
160这样就是限度linux用户登陆在其HOME目录 不能浏览上级目录 
161
162__________________   
163  
164请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.   
165  
166新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了&lt;/fon</anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus