]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.conf
- AuthPAM is now good
[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 ServerIdent                     off
8 ServerType                      inetd
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 # TCPD configuration
17 # TCPServiceName                        ftp
18 #TCPAccessFiles                 None
19 #TCPAccessSyslogLevels          info warn
20 #TCPGroupAccessFiles            None
21 #TCPUserAccessFiles             None
22
23 # These are the TLS related options, default values
24 #TLSEngine                      off
25 #TLSProtocol                    SSLv23
26 #TLSCipherSuite                 ALL:!ADH
27 #TLSRSACertificateFile          None
28 #TLSRSACertificateKeyFile       None
29 #TLSDSACertficateFile           None
30 #TLSDSACertificateKeyFile       None
31 #TLSCACertificateFile           None
32 #TLSCACertificatePath           None
33 #TLSCARevocationFile            None
34 #TLSCARevocationPath            None
35 #TLSCertificateChainFile        None
36 #TLSDHParamFile                 None
37 #TLSLog                         None
38 #TLSOptions                     None
39 #TLSRandomSeed                  openssl-dir/.rnd
40 #TLSRenegotiate                 None
41 #TLSRequired                    None
42 #TLSTimeoutHandshake            300
43 #TLSVerifyClient                None
44 #TLSVerifyDepth                 9
45
46 # Port 21 is the standard FTP port.
47 Port                            21
48 # Umask 022 is a good standard umask to prevent new dirs and files
49 # from being group and world writable.
50 Umask                           022
51
52 # Set the user and group that the server normally runs at.
53 User                            ftp
54 Group                           ftp
55
56 # use PAM authoritative
57 AuthPAM                         on
58
59 # Normally, we want files to be overwriteable.
60 <Directory />
61         AllowOverwrite          on
62 </Directory>
63
64 #A basic anonymous configuration
65 # uncoment this section below if you want gain annonymous ftp acces
66 <Anonymous ~ftp>
67         User                    ftp
68         Group                   ftp
69         AnonRequirePassword     off
70         RequireValidShell       off
71
72         # We want clients to be able to login with "anonymous" as well as "ftp"
73         UserAlias               anonymous ftp
74
75         # Limit the maximum number of anonymous logins
76         MaxClients              10
77
78         # We want 'welcome.msg' displayed at login, and '.message' displayed
79         # in each newly chdired directory.
80         DisplayLogin            welcome.msg
81         DisplayFirstChdir       .message
82
83         AllowStoreRestart on
84
85         # Limit WRITE everywhere in the anonymous chroot
86         <Limit WRITE>
87                 DenyAll
88         </Limit>
89
90 #       <Directory /home/services/ftp/pub/Incoming>
91 #               <Limit READ>
92 #                       DenyAll
93 #               </Limit>
94 #               <Limit WRITE>
95 #                       AllowAll
96 #               </Limit>
97 #               <Limit STOR>
98 #                       AllowAll
99 #               </Limit>
100 #       </Directory>
101 </Anonymous>
This page took 0.228731 seconds and 4 git commands to generate.