| Revision 558,
2.3 KB
checked in by anarcat, 7 years ago
(diff) |
|
[project @ alternc: changeset 2005-03-06 11:06:10 by jerome]
Inversion des directives de bande passante entre woody et sarge
Original author: jerome
Date: 2005-03-06 11:06:10
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # Fichier de configuration de ProFTPd pour AlternC |
|---|
| 3 | # $Id: proftpd.conf,v 1.10 2005/03/06 11:06:10 jerome Exp $ |
|---|
| 4 | # |
|---|
| 5 | # %%warning_message%% |
|---|
| 6 | # version SARGE |
|---|
| 7 | |
|---|
| 8 | ServerName "%%hosting%%" |
|---|
| 9 | ServerIdent on "FTP Server Ready" |
|---|
| 10 | ServerType standalone |
|---|
| 11 | DeferWelcome on |
|---|
| 12 | |
|---|
| 13 | ShowSymlinks on |
|---|
| 14 | MultilineRFC2228 on |
|---|
| 15 | DefaultServer on |
|---|
| 16 | AllowOverwrite on |
|---|
| 17 | AllowStoreRestart on |
|---|
| 18 | DefaultRoot ~ |
|---|
| 19 | UseReverseDNS off |
|---|
| 20 | IdentLookups off |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | TimeoutNoTransfer 600 |
|---|
| 24 | TimeoutStalled 600 |
|---|
| 25 | TimeoutIdle 1200 |
|---|
| 26 | |
|---|
| 27 | DisplayLogin /etc/welcome.msg |
|---|
| 28 | DisplayFirstChdir .message |
|---|
| 29 | |
|---|
| 30 | ListOptions "-al" |
|---|
| 31 | |
|---|
| 32 | DenyFilter \*.*/ |
|---|
| 33 | Port 21 |
|---|
| 34 | MaxInstances 30 |
|---|
| 35 | User nobody |
|---|
| 36 | Group nogroup |
|---|
| 37 | RequireValidShell off |
|---|
| 38 | |
|---|
| 39 | <Directory /*> |
|---|
| 40 | DenyAll |
|---|
| 41 | </Directory> |
|---|
| 42 | |
|---|
| 43 | <Directory /var/alternc/html> |
|---|
| 44 | Umask 022 022 |
|---|
| 45 | AllowOverwrite on |
|---|
| 46 | # Limit the allowed bandwith for each connexion, prevent ressource hold-up ;) |
|---|
| 47 | TransferRate RETR 64 |
|---|
| 48 | TransferRate APPE,STOR 64 |
|---|
| 49 | |
|---|
| 50 | AllowAll |
|---|
| 51 | </Directory> |
|---|
| 52 | |
|---|
| 53 | MaxClientsPerHost 6 "Sorry, no more than 6 simultaneous connections" |
|---|
| 54 | AccessGrantMsg "Welcome on AlternC, %u" |
|---|
| 55 | |
|---|
| 56 | # database@host:port login password |
|---|
| 57 | SQLConnectInfo %%dbname%%@%%dbhost%%:3306 %%dbuser%% %%dbpwd%% |
|---|
| 58 | # Table : |
|---|
| 59 | SQLUserInfo ftpusers name password 33 uid homedir NULL |
|---|
| 60 | |
|---|
| 61 | # Use mysql PASSWORD function |
|---|
| 62 | SQLAuthTypes Plaintext |
|---|
| 63 | # Only mysql authentication enabled |
|---|
| 64 | SQLAuthenticate users |
|---|
| 65 | AuthPAM off |
|---|
| 66 | # Default : www-data.www-data |
|---|
| 67 | SQLDefaultGID 33 |
|---|
| 68 | SQLDefaultUID 33 |
|---|
| 69 | # Do NOT create the homedir if it does not exist |
|---|
| 70 | SQLHomedirOnDemand off |
|---|
| 71 | # Minimum ID allowed to log in. Other users should use SFTP |
|---|
| 72 | SQLMinID 33 |
|---|
| 73 | |
|---|
| 74 | # We don't use Unix rights managment on AlternC, so let's hide real owner/group/rights |
|---|
| 75 | DirFakeGroup on foo |
|---|
| 76 | DirFakeMode 0640 |
|---|
| 77 | DirFakeUser on bar |
|---|
| 78 | |
|---|
| 79 | # And chmod command is forbidden too : |
|---|
| 80 | <Limit SITE_CHMOD> |
|---|
| 81 | DenyAll |
|---|
| 82 | </Limit> |
|---|
| 83 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.