Debian Codegraph @

sample-configurations/PFTEST.conf.in

raw
1 #
2 # This ProFTPD configuration is intended for unprivileged TESTING ONLY.
3 # See Step 4 in INSTALL.
4 #
5
6 ServerName "ProFTPD TEST Installation"
7 ServerType standalone
8 DefaultServer on
9
10 # Use a non-privileged port, rather than the standard ftp port (21).
11 # The ftpd-data port will be one less.
12 Port 2021
13
14 User %User%
15 Group %Group%
16
17 # These must be absolute paths.
18 AuthUserFile %TestDir%/PFTEST.passwd
19 AuthGroupFile %TestDir%/PFTEST.group
20
21 PidFile %TestDir%/PFTEST.pid
22 ScoreboardFile %TestDir%/PFTEST.score
23 SystemLog %TestDir%/PFTEST.syslog
24 TransferLog %TestDir%/PFTEST.xferlog
25
26 # Disable some checks.
27 RequireValidShell off
28 UseFtpUsers off
29 UseReverseDNS off
30 WtmpLog off
31
32 <IfModule mod_ident.c>
33 IdentLookups off
34 </IfModule>
35
36 # Umask 022 is a good standard umask to prevent new dirs and files
37 # from being group and world writable.
38 Umask 022
39
40 # To prevent DoS attacks, set the maximum number of child processes to 5.
41 MaxInstances 5
42
43 # Normally, we want files to be overwriteable.
44 <Directory />
45 AllowOverwrite on
46 </Directory>
47