Linux下proftpd的安装配置与管理方法
2007-06-12 00:00:00 来源:WEB开发网核心提示: # Set the maximum number of secondsa data connection is allowed# to "stall" before being aborted.#TimeoutStalled300AllowRetrieveRestart on
# Set the maximum number of seconds
a data connection is allowed
# to "stall" before being aborted.
#TimeoutStalled 300
AllowRetrieveRestart on
AllowStoreRestart on
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
TimeoutStalled 指定一个连接的超时时间。
AllowRetriveRestart 和AllowStroeRestart 指定允许断点续传。
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to
login with "anonymous"
as well as "ftp"
UserAlias anonymous ftp
# 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>
这一部分,将在后面详细介绍。
2.配置文件结构分析
#全局设置
设置项目1 参数1
设置项目2 参数2
#某个目录的设置
<Directory "路径名">
...
...
</Directory>
#关于匿名登陆的设置
<Anonymous "匿名登陆的目录">
...
...
<Limit 限制动作>
...
...
</Limit>
</Anonymous>
更多精彩
赞助商链接