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