]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.conf
- typo: %s/sever"/server"/
[packages/proftpd.git] / proftpd.conf
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                      "ProFTPD"
7 ServerType                      inetd
8 DeferWelcome                    off
9 DefaultServer                   on
10
11 <Global>
12         # Set this to "on" if you are running in standalone mode!
13         UseTCPD                 off
14         TCPDServiceName         ftp
15 </Global>
16
17 # If you want .message files to work with browsers, you probably
18 # want to uncomment the next line
19 #MultilineRFC2228               on
20
21 # These are the TLS related options, default values
22 #TlsRsaCertFile                 ftpd-rsa.pem
23 #TlsRsaKeyFile                  ftpd-rsa-key.pem
24 #TlsDsaCertFile                 ftpd-dsa.pem
25 #TlsDsaKeyFile                  ftpd-dsa-key.pem
26 #TlsCrlFile                     ftpd-crl.pem
27 #TlsDhParamFile                 ftpd-dhparam.pem
28 #TlsCipherList                  ALL:!EXP
29 # don't verify any peer certificates
30 #TlsCertsOk                     off
31
32 # Port 21 is the standard FTP port.
33 Port                            21
34 # Umask 022 is a good standard umask to prevent new dirs and files
35 # from being group and world writable.
36 Umask                           022
37
38 # Set the user and group that the server normally runs at.
39 User                            ftp
40 Group                           ftp
41
42 # Normally, we want files to be overwriteable.
43 <Directory />
44         AllowOverwrite          on
45 </Directory>
46
47 #A basic anonymous configuration
48 # uncoment this section below if you want gain annonymous ftp acces
49 <Anonymous ~ftp>
50         User                    ftp
51         Group                   ftp
52         AnonRequirePassword     off
53         RequireValidShell       off
54
55         # We want clients to be able to login with "anonymous" as well as "ftp"
56         UserAlias               anonymous ftp
57
58         # Limit the maximum number of anonymous logins
59         MaxClients              10
60
61         # We want 'welcome.msg' displayed at login, and '.message' displayed
62         # in each newly chdired directory.
63         DisplayLogin            welcome.msg
64         DisplayFirstChdir       .message
65
66         AllowStoreRestart on
67
68         # Limit WRITE everywhere in the anonymous chroot
69         <Limit WRITE>
70                 DenyAll
71         </Limit>
72
73 #       <Directory /home/ftp/pub/Incoming>
74 #               <Limit READ>
75 #                       DenyAll
76 #               </Limit>
77 #               <Limit WRITE>
78 #                       AllowAll
79 #               </Limit>
80 #               <Limit STOR>
81 #                       AllowAll
82 #               </Limit>
83 #       </Directory>
84 </Anonymous>
This page took 0.051491 seconds and 3 git commands to generate.