服务器 频道

ProFtpd快速指南

# 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>
0
相关文章