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