/etc/init.d/proftpd start
Kod: Zaznacz cały
Starting ftp server: proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
- Fatal: unknown configuration directive '<Anonymous' on line 48 of '/etc/proftpd/proftpd.conf'
failed!
Kod: Zaznacz cały
<Anonymous ~filmik> AnonRequirePassword on
Kod: Zaznacz cały
ServerType standalone
DefaultServer on
Umask 022
ServerName "Debian Server"
ServerAdmin email@email
DeferWelcome on
IdentLookups off
UseReverseDNS off
Port 25100
PassivePorts 65500 65530
MasqueradeAddress 1.2.3.4
TimesGMT off
MaxInstances 30
MaxLoginAttempts 2
TimeoutLogin 30
TimeoutNoTransfer 320
TimeoutIdle 320
DisplayLogin welcome.msg
DisplayFirstChdir .message
User nobody
Group ftp
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores on
TransferRate RETR 999999
TransferRate STOR 999999
TransferRate STOU 999999
TransferRate APPE 999999
SystemLog /var/log/secure
RequireValidShell off
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
AllowUser filmik
DenyALL
</Limit>
<Anonymous ~filmik> AnonRequirePassword on
User filmik
Group ftp
RequireValidShell off
MaxClients 3
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST RETR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>
ps. tak, istnieje podobny post na dug, ale brak konkretnych odpowiedzi...
aha system debian testing