initial commit of file from CVS for e-smith-proftpd on Wed 12 Jul 09:05:44 BST 2023
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
#------------------------------------------------------------
|
||||
# How to handle anonymous FTP logins: chroot to the Primary
|
||||
# i-bay files directory.
|
||||
#------------------------------------------------------------
|
||||
return "" if ($ftp{DisableAnonymous} || 'no') eq 'yes';
|
||||
|
||||
$OUT = << 'EOF';
|
||||
<Anonymous /home/e-smith/files/ibays/Primary/files>
|
||||
User public
|
||||
Group public
|
||||
UserAlias anonymous public
|
||||
UserAlias ftp public
|
||||
AnonRequirePassword off
|
||||
UseFtpUsers on
|
||||
MaxClients 10
|
||||
DisplayLogin welcome.msg
|
||||
DisplayChdir .message
|
||||
<Limit LOGIN>
|
||||
AllowAll
|
||||
</Limit>
|
||||
<Directory *>
|
||||
<Limit WRITE>
|
||||
DenyAll
|
||||
</Limit>
|
||||
</Directory>
|
||||
</Anonymous>
|
||||
EOF
|
||||
}
|
Reference in New Issue
Block a user