|
|
@@ -25,6 +25,7 @@ AllowOverwrite on
|
|
|
MaxLoginAttempts 2
|
|
|
RequireValidShell yes
|
|
|
LsDefaultOptions "-l"
|
|
|
+WTmpLog off
|
|
|
|
|
|
TimeoutLogin 120
|
|
|
TimeoutNoTransfer 600
|
|
|
@@ -59,10 +60,10 @@ SystemLog @l_prefix@/var/proftpd/proftpd.system.log
|
|
|
ServerAdmin root@localhost
|
|
|
MaxClients 20
|
|
|
|
|
|
- # optionally allow anonymous logins only
|
|
|
- #<Limit LOGIN>
|
|
|
- # DenyAll
|
|
|
- #</Limit>
|
|
|
+ # allow anonymous logins only
|
|
|
+ <Limit LOGIN>
|
|
|
+ DenyAll
|
|
|
+ </Limit>
|
|
|
|
|
|
# Anonymous-FTP
|
|
|
<Anonymous @l_prefix@/share/proftpd>
|
|
|
@@ -70,6 +71,7 @@ SystemLog @l_prefix@/var/proftpd/proftpd.system.log
|
|
|
Group @l_ngrp@
|
|
|
UserAlias anonymous @l_nusr@
|
|
|
UserAlias ftp @l_nusr@
|
|
|
+ RootLogin off
|
|
|
UseFtpUsers off
|
|
|
MaxClients 10 "Sorry, max %m users allowed -- try again later, please."
|
|
|
RequireValidShell off
|