Scatt
ProFTPD
Offline
Beiträge: 1
|
|
« am: 27. Februar 2007, 11:35:30 » |
|
Hallo zusammen
Ich möchte die user in das Homedir einsperren. Irgendwie klappt das ganze nicht ... Wenn ich neu verbinde bin ich im richtigen Startverzeichnis. Jedoch kann ich dann unter das homedir gehen... Die konfiguration ist gleich wie auf dem anderen FTP server wo das nicht geht.
mfG
Scatt
# # /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. #
# Includes DSO modules Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes. UseIPv6 off
ServerName "Servername" ServerType standalone DeferWelcome off
MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 IdentLookups off AllowOverwrite on
DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l"
DenyFilter \*.*/
Port 21 MaxInstances 30
User proftpd Group nogroup
Umask 022 022 AllowOverwrite on
TransferLog /var/log/proftpd/xferlog SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_delay.c> DelayEngine on </IfModule>
<IfModule mod_ctrls.c> ControlsEngine on ControlsMaxClients 2 ControlsLog /var/log/proftpd/controls.log ControlsInterval 5 ControlsSocket /var/run/proftpd/proftpd.sock </IfModule>
<IfModule mod_ctrls_admin.c> AdminControlsEngine on </IfModule>
RequireValidShell off
# A basic anonymous configuration, no upload directories. SQLAuthTypes Plaintext SQLAuthenticate users* SQLConnectInfo proftpd@localhost username password SQLDefaultGID 33 SQLDefaultUID 33 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
|