电脑技术学习

ProFtpd快速指南(七)

dn001
# Limit the maximum number of anonymous logins
MaxClients 10

# We ! ;want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired Directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

</Anonymous>


DefaultRoot ~ FTPusers

<VirtualHost 192.168.2.35>

ServerName "virtual FTP server"

<Limit LOGIN>
DenyAll
</Limit>

<Anonymous /usr/local/private>

User private
Group private

<Limit LOGIN>
AllowAll
</Limit>

</Anonymous>

</VirtualHost>