]> git.pld-linux.org Git - packages/proftpd.git/blame - proftpd.conf
- TLSEngine must be first
[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
f7fbb132 15# Port 21 is the standard FTP port.
16Port 21
17# Umask 022 is a good standard umask to prevent new dirs and files
18# from being group and world writable.
19Umask 022
20
21# Set the user and group that the server normally runs at.
22User ftp
23Group ftp
24
f8cc83f1
ER
25# use separate auth files instead of system auth
26#AuthUserFile /etc/ftpd/passwd
27#AuthGroupFile /etc/ftpd/group
c9d0f942 28
f7fbb132 29# Normally, we want files to be overwriteable.
30<Directory />
31 AllowOverwrite on
32</Directory>
33
7b7692b8 34# A basic anonymous configuration
f7fbb132 35# uncoment this section below if you want gain annonymous ftp acces
970c3035
JR
36<Anonymous ~ftp>
37 User ftp
38 Group ftp
39 AnonRequirePassword off
40 RequireValidShell off
f7fbb132 41
42 # We want clients to be able to login with "anonymous" as well as "ftp"
970c3035 43 UserAlias anonymous ftp
f7fbb132 44
45 # Limit the maximum number of anonymous logins
970c3035 46 MaxClients 10
f7fbb132 47
48 # We want 'welcome.msg' displayed at login, and '.message' displayed
49 # in each newly chdired directory.
970c3035
JR
50 DisplayLogin welcome.msg
51 DisplayFirstChdir .message
f7fbb132 52
970c3035 53 AllowStoreRestart on
f7fbb132 54
55 # Limit WRITE everywhere in the anonymous chroot
970c3035
JR
56 <Limit WRITE>
57 DenyAll
58 </Limit>
f7fbb132 59
3545746f 60# <Directory /home/services/ftp/pub/Incoming>
f7fbb132 61# <Limit READ>
62# DenyAll
63# </Limit>
64# <Limit WRITE>
65# AllowAll
66# </Limit>
67# <Limit STOR>
68# AllowAll
69# </Limit>
70# </Directory>
970c3035 71</Anonymous>
7b7692b8 72
f8cc83f1
ER
73# Load additional modules config
74Include /etc/ftpd/conf.d/*.conf
This page took 0.073968 seconds and 4 git commands to generate.