source: install/scripts/etc/proftpd.conf @ 556

Revision 556, 2.4 KB checked in by anarcat, 7 years ago (diff)

[project @ alternc: changeset 2005-03-06 10:09:58 by jerome]
Suppression des révisions 1.8 et supérieure de manière à repartir sur
une branche propre.

Original author: jerome
Date: 2005-03-06 10:09:58

Line 
1#
2# Fichier de configuration de ProFTPd pour AlternC
3# $Id: proftpd.conf,v 1.8 2005/03/06 10:09:58 jerome Exp $
4#
5# %%warning_message%%
6# version SARGE
7
8ServerName                      "%%hosting%%"
9ServerIdent                     on "FTP Server Ready"
10ServerType                      standalone
11DeferWelcome                    on
12
13ShowSymlinks                    on
14MultilineRFC2228                on
15DefaultServer                   on
16AllowOverwrite                  on
17AllowStoreRestart               on
18DefaultRoot                     ~
19UseReverseDNS                   off
20IdentLookups                    off
21
22
23TimeoutNoTransfer               600
24TimeoutStalled                  600
25TimeoutIdle                     1200
26
27DisplayLogin                    /etc/welcome.msg
28DisplayFirstChdir               .message
29
30ListOptions                     "-al"
31
32DenyFilter                      \*.*/
33Port                            21
34MaxInstances                    30
35User                            nobody
36Group                           nogroup
37RequireValidShell               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# ON WOODY
48#  RateReadBPS   65535
49#  RateWriteBPS  65535
50# ON SARGE
51#  TransferRate RETR 64
52#  TransferRate APPE,STOR 64
53
54  AllowAll
55</Directory>
56
57MaxClientsPerHost 6 "Sorry, no more than 6 simultaneous connections"
58AccessGrantMsg  "Welcome on AlternC, %u"
59
60# database@host:port login password
61SQLConnectInfo                  %%dbname%%@%%dbhost%%:3306 %%dbuser%% %%dbpwd%%
62# Table :
63SQLUserInfo ftpusers name password 33 uid homedir NULL
64
65# Use mysql PASSWORD function
66SQLAuthTypes                    Plaintext
67# Only mysql authentication enabled
68SQLAuthenticate users
69AuthPAM                         off
70# Default : www-data.www-data
71SQLDefaultGID                   33
72SQLDefaultUID                   33
73# Do NOT create the homedir if it does not exist
74SQLHomedirOnDemand              off
75# Minimum ID allowed to log in. Other users should use SFTP
76SQLMinID                        33
77
78# We don't use Unix rights managment on AlternC, so let's hide real owner/group/rights
79DirFakeGroup    on foo
80DirFakeMode     0640
81DirFakeUser     on bar
82
83# And chmod command is forbidden too :
84<Limit SITE_CHMOD>
85        DenyAll
86</Limit>
87
Note: See TracBrowser for help on using the repository browser.