| Revision 14,
2.2 KB
checked in by anarcat, 7 years ago
(diff) |
|
[project @ alternc: changeset 2003-03-27 23:39:05 by jonathan]
Installation de la nouvelle arborescence
Original author: jonathan
Date: 2003-03-27 23:39:19
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # Fichier de configuration de ProFTPd pour AlternC |
|---|
| 3 | # $Id: proftpd.conf,v 1.1 2003/03/27 23:39:18 jonathan Exp $ |
|---|
| 4 | |
|---|
| 5 | ServerName "%%hosting%%" |
|---|
| 6 | ServerIdent on "FTP Server Ready" |
|---|
| 7 | ServerType standalone |
|---|
| 8 | DeferWelcome on |
|---|
| 9 | |
|---|
| 10 | ShowSymlinks on |
|---|
| 11 | MultilineRFC2228 on |
|---|
| 12 | DefaultServer on |
|---|
| 13 | AllowOverwrite on |
|---|
| 14 | AllowStoreRestart on |
|---|
| 15 | DefaultRoot ~ |
|---|
| 16 | |
|---|
| 17 | TimeoutNoTransfer 600 |
|---|
| 18 | TimeoutStalled 600 |
|---|
| 19 | TimeoutIdle 1200 |
|---|
| 20 | |
|---|
| 21 | DisplayLogin /etc/welcome.msg |
|---|
| 22 | DisplayFirstChdir .message |
|---|
| 23 | LsDefaultOptions "-al" |
|---|
| 24 | DenyFilter \*.*/ |
|---|
| 25 | Port 21 |
|---|
| 26 | MaxInstances 30 |
|---|
| 27 | User nobody |
|---|
| 28 | Group nogroup |
|---|
| 29 | RequireValidShell off |
|---|
| 30 | |
|---|
| 31 | <Directory /*> |
|---|
| 32 | DenyAll |
|---|
| 33 | </Directory> |
|---|
| 34 | |
|---|
| 35 | <Directory /var/alternc/html> |
|---|
| 36 | Umask 022 022 |
|---|
| 37 | AllowOverwrite on |
|---|
| 38 | # Limite la BP par connexion, c'est plus sympa pour les autres ;) |
|---|
| 39 | RateReadBPS 65535 |
|---|
| 40 | RateWriteBPS 65535 |
|---|
| 41 | AllowAll |
|---|
| 42 | </Directory> |
|---|
| 43 | |
|---|
| 44 | MaxClientsPerHost 3 "Sorry, no more than 3 simultaneous connections" |
|---|
| 45 | AccessGrantMsg "Sois le bienvenu sur AlternC, oh %u" |
|---|
| 46 | |
|---|
| 47 | # database@host:port login password |
|---|
| 48 | SQLConnectInfo %%dbname%%@localhost:3306 %%dbuser%% %%dbpwd%% |
|---|
| 49 | # Table : |
|---|
| 50 | SQLUserInfo ftpusers name password 33 uid homedir NULL |
|---|
| 51 | |
|---|
| 52 | # Use mysql PASSWORD function |
|---|
| 53 | SQLAuthTypes Plaintext |
|---|
| 54 | # Only mysql authentication enabled |
|---|
| 55 | SQLAuthenticate users |
|---|
| 56 | AuthPAM off |
|---|
| 57 | # Default : www-data.www-data |
|---|
| 58 | SQLDefaultGID 33 |
|---|
| 59 | SQLDefaultUID 33 |
|---|
| 60 | # Do NOT create the homedir if it does not exist |
|---|
| 61 | SQLHomedirOnDemand off |
|---|
| 62 | # Minimum ID allowed to log in. Other users should use SFTP |
|---|
| 63 | SQLMinID 33 |
|---|
| 64 | |
|---|
| 65 | # On n'utilise pas la gestion de droits Unix, donc on cache tout par defaut ;) |
|---|
| 66 | DirFakeGroup on foo |
|---|
| 67 | DirFakeMode 0640 |
|---|
| 68 | DirFakeUser on bar |
|---|
| 69 | |
|---|
| 70 | # Et on interdit les commandes chmod : |
|---|
| 71 | <Limit SITE_CHMOD> |
|---|
| 72 | DenyAll |
|---|
| 73 | </Limit> |
|---|
Note: See
TracBrowser
for help on using the repository browser.