]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.conf
- tls options in separate 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                      standalone
8 DeferWelcome                    off
9 DefaultServer                   on
10
11 # If you want .message files to work with browsers, you probably
12 # want to uncomment the next line
13 #MultilineRFC2228               on
14
15 # Port 21 is the standard FTP port.
16 Port                            21
17 # Umask 022 is a good standard umask to prevent new dirs and files
18 # from being group and world writable.
19 Umask                           022
20
21 # Set the user and group that the server normally runs at.
22 User                            ftp
23 Group                           ftp
24
25 # Load additional modules config
26 Include /etc/ftpd/conf.d/*.conf
27
28 # Normally, we want files to be overwriteable.
29 <Directory />
30         AllowOverwrite          on
31 </Directory>
32
33 # A basic anonymous configuration
34 # uncoment this section below if you want gain annonymous ftp acces
35 <Anonymous ~ftp>
36         User                    ftp
37         Group                   ftp
38         AnonRequirePassword     off
39         RequireValidShell       off
40
41         # We want clients to be able to login with "anonymous" as well as "ftp"
42         UserAlias               anonymous ftp
43
44         # Limit the maximum number of anonymous logins
45         MaxClients              10
46
47         # We want 'welcome.msg' displayed at login, and '.message' displayed
48         # in each newly chdired directory.
49         DisplayLogin            welcome.msg
50         DisplayFirstChdir       .message
51
52         AllowStoreRestart on
53
54         # Limit WRITE everywhere in the anonymous chroot
55         <Limit WRITE>
56                 DenyAll
57         </Limit>
58
59 #       <Directory /home/services/ftp/pub/Incoming>
60 #               <Limit READ>
61 #                       DenyAll
62 #               </Limit>
63 #               <Limit WRITE>
64 #                       AllowAll
65 #               </Limit>
66 #               <Limit STOR>
67 #                       AllowAll
68 #               </Limit>
69 #       </Directory>
70 </Anonymous>
71
72 # vim:ts=8:sw=8
This page took 0.093329 seconds and 4 git commands to generate.