]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.conf
- TLSEngine must be first
[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 # use separate auth files instead of system auth
26 #AuthUserFile /etc/ftpd/passwd
27 #AuthGroupFile /etc/ftpd/group
28
29 # Normally, we want files to be overwriteable.
30 <Directory />
31         AllowOverwrite          on
32 </Directory>
33
34 # A basic anonymous configuration
35 # uncoment this section below if you want gain annonymous ftp acces
36 <Anonymous ~ftp>
37         User                    ftp
38         Group                   ftp
39         AnonRequirePassword     off
40         RequireValidShell       off
41
42         # We want clients to be able to login with "anonymous" as well as "ftp"
43         UserAlias               anonymous ftp
44
45         # Limit the maximum number of anonymous logins
46         MaxClients              10
47
48         # We want 'welcome.msg' displayed at login, and '.message' displayed
49         # in each newly chdired directory.
50         DisplayLogin            welcome.msg
51         DisplayFirstChdir       .message
52
53         AllowStoreRestart on
54
55         # Limit WRITE everywhere in the anonymous chroot
56         <Limit WRITE>
57                 DenyAll
58         </Limit>
59
60 #       <Directory /home/services/ftp/pub/Incoming>
61 #               <Limit READ>
62 #                       DenyAll
63 #               </Limit>
64 #               <Limit WRITE>
65 #                       AllowAll
66 #               </Limit>
67 #               <Limit STOR>
68 #                       AllowAll
69 #               </Limit>
70 #       </Directory>
71 </Anonymous>
72
73 # Load additional modules config
74 Include /etc/ftpd/conf.d/*.conf
This page took 0.031609 seconds and 4 git commands to generate.