]>
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" | |
7 | ServerType inetd | |
8 | DeferWelcome off | |
9 | DefaultServer on | |
10 | ||
3b7c9415 JR |
11 | # Set this to "on" if you are running in standalone mode! |
12 | UseTCPD off | |
13 | TCPDServiceName ftp | |
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 | ||
25 | # Normally, we want files to be overwriteable. | |
26 | <Directory /> | |
27 | AllowOverwrite on | |
28 | </Directory> | |
29 | ||
30 | #A basic anonymous configuration | |
31 | # uncoment this section below if you want gain annonymous ftp acces | |
970c3035 JR |
32 | <Anonymous ~ftp> |
33 | User ftp | |
34 | Group ftp | |
35 | AnonRequirePassword off | |
36 | RequireValidShell off | |
f7fbb132 | 37 | |
38 | # We want clients to be able to login with "anonymous" as well as "ftp" | |
970c3035 | 39 | UserAlias anonymous ftp |
f7fbb132 | 40 | |
41 | # Limit the maximum number of anonymous logins | |
970c3035 | 42 | MaxClients 10 |
f7fbb132 | 43 | |
44 | # We want 'welcome.msg' displayed at login, and '.message' displayed | |
45 | # in each newly chdired directory. | |
970c3035 JR |
46 | DisplayLogin welcome.msg |
47 | DisplayFirstChdir .message | |
f7fbb132 | 48 | |
970c3035 | 49 | AllowStoreRestart on |
f7fbb132 | 50 | |
51 | # Limit WRITE everywhere in the anonymous chroot | |
970c3035 JR |
52 | <Limit WRITE> |
53 | DenyAll | |
54 | </Limit> | |
f7fbb132 | 55 | |
56 | # <Directory /home/ftp/pub/Incoming> | |
57 | # <Limit READ> | |
58 | # DenyAll | |
59 | # </Limit> | |
60 | # <Limit WRITE> | |
61 | # AllowAll | |
62 | # </Limit> | |
63 | # <Limit STOR> | |
64 | # AllowAll | |
65 | # </Limit> | |
66 | # </Directory> | |
970c3035 | 67 | </Anonymous> |