ich habe ein Problem bei der Konfiguration von Proftpd. Und zwar möchte ich, dass die Benutzer nach dem Login in ihrem jeweiligen Home-Verzeichnis eingesperrt werden.
Dazu habe ich in der proftpd.conf alle möglichen Variationen von
Code: Select all
DefaultRoot ~Hier mal meine vsftpd.conf
Code: Select all
UseIPv6 off
ServerName "Debian"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter *.*/
Port 21
MaxInstances 30
Umask 022 022
AllowOverwrite on
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_tls.c>
TLSEngine off
</IfModule>
<IfModule mod_quota.c>
QuotaEngine on
</IfModule>
<IfModule mod_ratio.c>
Ratios on
</IfModule>
<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>
<Limit LOGIN>
DenyGroup !ftpuser !ftpprouser
</LIMIT>
<Global>
RootLogin off
RequireValidShell on
</GLobal>
UseReverseDNS off
DefaultRoot ~ ftpuser
IdentLookups off Code: Select all
test_user:x:1001:1001::/home/test_user:/bin/bash
Code: Select all
ftpuser:x:1003:test_user
Grüße,
Stephan