XdSe_cX Team PROFTPD 配置文档
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
# This is a basic ProFTPD configuration file (rename it to 2
# 'proftpd.conf' for actual use. It establishes a single server3
# and a single anonymous login. It assumes that you have a user/group4
# "nobody" and "ftp" for normal operation and anon.5

6
ServerName "XdSe_Ftp for Se Members~~"7
ServerType standalone8
DefaultServer on9

10
# Port 21 is the standard FTP port.11
Port 2112

13
# Umask 022 is a good standard umask to prevent new dirs and files14
# from being group and world writable.15
Umask 02216

17
# To prevent DoS attacks, set the maximum number of child processes18
# to 30. If you need to allow more than 30 concurrent connections19
# at once, simply increase this value. Note that this ONLY works20
# in standalone mode, in inetd mode you should use an inetd server21
# that allows you to limit maximum number of processes per service22
# (such as xinetd).23
MaxInstances 3024

25
# Set the user and group under which the server will run.26
User nobody27
Group nobody28

29

30
# To cause every FTP user to be "jailed" (chrooted) into their home31
# directory, uncomment this line.32
DefaultRoot ~33

34
# Normally, we want files to be overwriteable.35
<Directory />36
AllowOverwrite on37
</Directory>38

39
<Global>40
RootLogin on41
UserAlias anonymous ftp42
UserPassword ftp 11G3BJNEUV/Pk43
</Global>44

45
<Anonymous /cvs/upload>46
User ftp47
UserAlias anonymous ftp48
Group proftpd49
</Anonymous>50

在做这些配置之前必须建立nobody/nobody用户、组,
浙公网安备 33010602011771号