1
# This is a basic ProFTPD configuration file (rename it to
2
# 'proftpd.conf' for actual use. It establishes a single server
3
# and a single anonymous login. It assumes that you have a user/group
4
# "nobody" and "ftp" for normal operation and anon.
5
6
ServerName "XdSe_Ftp for Se Members~~"
7
ServerType standalone
8
DefaultServer on
9
10
# Port 21 is the standard FTP port.
11
Port 21
12
13
# Umask 022 is a good standard umask to prevent new dirs and files
14
# from being group and world writable.
15
Umask 022
16
17
# To prevent DoS attacks, set the maximum number of child processes
18
# to 30. If you need to allow more than 30 concurrent connections
19
# at once, simply increase this value. Note that this ONLY works
20
# in standalone mode, in inetd mode you should use an inetd server
21
# that allows you to limit maximum number of processes per service
22
# (such as xinetd).
23
MaxInstances 30
24
25
# Set the user and group under which the server will run.
26
User nobody
27
Group nobody
28
29
30
# To cause every FTP user to be "jailed" (chrooted) into their home
31
# directory, uncomment this line.
32
DefaultRoot ~
33
34
# Normally, we want files to be overwriteable.
35
<Directory />
36
AllowOverwrite on
37
</Directory>
38
39
<Global>
40
RootLogin on
41
UserAlias anonymous ftp
42
UserPassword ftp 11G3BJNEUV/Pk
43
</Global>
44
45
<Anonymous /cvs/upload>
46
User ftp
47
UserAlias anonymous ftp
48
Group proftpd
49
</Anonymous>
50
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
在做这些配置之前必须建立nobody/nobody用户、组,