]>
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 | ||
11 | # Port 21 is the standard FTP port. | |
12 | Port 21 | |
13 | # Umask 022 is a good standard umask to prevent new dirs and files | |
14 | # from being group and world writable. | |
15 | Umask 022 | |
16 | ||
17 | # Set the user and group that the server normally runs at. | |
18 | User ftp | |
19 | Group ftp | |
20 | ||
21 | # Normally, we want files to be overwriteable. | |
22 | <Directory /> | |
23 | AllowOverwrite on | |
24 | </Directory> | |
25 | ||
26 | #A basic anonymous configuration | |
27 | # uncoment this section below if you want gain annonymous ftp acces | |
28 | #<Anonymous ~ftp> | |
29 | # User ftp | |
30 | # Group ftp | |
31 | # AnonRequirePassword off | |
32 | # RequireValidShell off | |
33 | ||
34 | # We want clients to be able to login with "anonymous" as well as "ftp" | |
35 | # UserAlias anonymous ftp | |
36 | ||
37 | # Limit the maximum number of anonymous logins | |
38 | # MaxClients 10 | |
39 | ||
40 | # We want 'welcome.msg' displayed at login, and '.message' displayed | |
41 | # in each newly chdired directory. | |
42 | # DisplayLogin welcome.msg | |
43 | # DisplayFirstChdir .message | |
44 | ||
45 | # AllowStoreRestart on | |
46 | ||
47 | # Limit WRITE everywhere in the anonymous chroot | |
48 | # <Limit WRITE> | |
49 | # DenyAll | |
50 | # </Limit> | |
51 | ||
52 | # <Directory /home/ftp/pub/Incoming> | |
53 | # <Limit READ> | |
54 | # DenyAll | |
55 | # </Limit> | |
56 | # <Limit WRITE> | |
57 | # AllowAll | |
58 | # </Limit> | |
59 | # <Limit STOR> | |
60 | # AllowAll | |
61 | # </Limit> | |
62 | # </Directory> | |
63 | #</Anonymous> |