ich poste am besten gleich die ganze config. DefaultRoot ~ habe ich
ServerName "iT'S NOT A DREAM"
ServerType standalone
ServerAdmin ftpadmin@fqdn
SyslogLevel emerg
SystemLog /var/log/proftpd.system.log
ServerIdent on "ProFTPD v1.2.9+mod_sql"
#DeferWelcome on
DefaultServer on
AuthPAM on
AuthPAMAuthoritative off
AuthPAMConfig proftpd
Port 21
#------------------------mysql Modul: 4.x
#
# Zugangskontrolle
#
SQLAuthTypes Plaintext Backend
SQLAuthenticate users
SQLConnectInfo sys_proftpd@localhost user pass
SQLDefaultGID 10000
SQLDefaultUID 10000
SQLMinUserGID 100
SQLMinUserUID 500
SQLUserInfo ftp username password uid gid homedir shell
SQLLog PASS counter
SQLNamedQuery counter UPDATE "letzter_zugriff=now(), count=count+1 WHERE username='%u'" ftp
# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery transfer1 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T', now(), 'c', NULL" xfer_stat
SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery transfer2 INSERT "'%u', '%f', '%b', '%h', '%a', '%m', '%T', now(), 'i', NULL" xfer_stat
#------------------------mysql
AllowForeignAddress on
Umask 022
User nobody
Group nogroup
MaxClientsPerHost 3 "Nicht mehr als %m Verbindungen"
MaxClients 15 "Leider sind schon %m Clients verbunden"
AllowStoreRestart on
AllowRetrieveRestart on
<Directory /*>
AllowOverwrite on
HideNoAccess on
</Directory>
MaxInstances 30
UseReverseDNS on
TimeoutStalled 300
ScoreboardFile /var/run/proftpd.scoreboard
TransferLog /var/log/proftpd.xferlog
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
ExtendedLog /var/log/proftpd.access_log WRITE,READ write
ExtendedLog /var/log/proftpd.auth_log AUTH auth
ExtendedLog /var/log/proftpd.paranoid_log ALL default
DefaultRoot ~
RequireValidShell off