]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | ServerName "ProFTPD" | |
7b7692b8 | 7 | ServerType standalone |
f7fbb132 | 8 | DeferWelcome off |
9 | DefaultServer 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. |
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 | ||
7b7692b8 ER |
25 | # Load additional modules config |
26 | Include /etc/ftpd/conf.d/*.conf | |
c9d0f942 | 27 | |
f7fbb132 | 28 | # Normally, we want files to be overwriteable. |
29 | <Directory /> | |
30 | AllowOverwrite on | |
31 | </Directory> | |
32 | ||
7b7692b8 | 33 | # A basic anonymous configuration |
f7fbb132 | 34 | # uncoment this section below if you want gain annonymous ftp acces |
970c3035 JR |
35 | <Anonymous ~ftp> |
36 | User ftp | |
37 | Group ftp | |
38 | AnonRequirePassword off | |
39 | RequireValidShell off | |
f7fbb132 | 40 | |
41 | # We want clients to be able to login with "anonymous" as well as "ftp" | |
970c3035 | 42 | UserAlias anonymous ftp |
f7fbb132 | 43 | |
44 | # Limit the maximum number of anonymous logins | |
970c3035 | 45 | MaxClients 10 |
f7fbb132 | 46 | |
47 | # We want 'welcome.msg' displayed at login, and '.message' displayed | |
48 | # in each newly chdired directory. | |
970c3035 JR |
49 | DisplayLogin welcome.msg |
50 | DisplayFirstChdir .message | |
f7fbb132 | 51 | |
970c3035 | 52 | AllowStoreRestart on |
f7fbb132 | 53 | |
54 | # Limit WRITE everywhere in the anonymous chroot | |
970c3035 JR |
55 | <Limit WRITE> |
56 | DenyAll | |
57 | </Limit> | |
f7fbb132 | 58 | |
3545746f | 59 | # <Directory /home/services/ftp/pub/Incoming> |
f7fbb132 | 60 | # <Limit READ> |
61 | # DenyAll | |
62 | # </Limit> | |
63 | # <Limit WRITE> | |
64 | # AllowAll | |
65 | # </Limit> | |
66 | # <Limit STOR> | |
67 | # AllowAll | |
68 | # </Limit> | |
69 | # </Directory> | |
970c3035 | 70 | </Anonymous> |
7b7692b8 ER |
71 | |
72 | # vim:ts=8:sw=8 |