ProftpdFAQ汇总

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

1。如果使proftpd服务端支持FXP功能

To support FXP when connecting as a user place "AllowForeignAddress on" in the Global or VirtualHost context.

To support FXP when connecting as anon "AllowForeignAddress on" must be placed in the Anonymous context.

The config will happily support "AllowForeignAddress on" in multiple places within the config..

You may need to add the following "PassivePorts 49152 65534"

要想proftpd支持FXP功能,请在适当的地方加入"AllowForeignAddress on",这个参数,这个参数可以放在全局段,或者虚拟ftp段,如果你要使匿名用户支持FXP,则需要把这个参数放在Anonymous段。

另外如果需要的话,还可以加上"PassivePorts 49152 65534" 这个参数(不是必须)。

2。"Fatal: unable to determine IP address of "hostname:

一般出现这个错误,你只要修改/etc/hosts这个文件,添加你服务器对应的ip地址就行

3。安装完proftpd,启动报No such group "nogroup"错误

默认系统没有"nogroup"这个用户组,才会报这个错误,只要把nogroup改成nobody就行,重新启动就不会报错

4。如何实现一个用户登录以后将其的访问限定在某个目录之下?

可以通过指令DefaultRoot来实现。例如若希望将ftpusers组的用户限定在自己的home目录下,则需要首先创建该组:

/usr/sbin/groupadd ftpusers

然后将用户kaoyan加入到该组中:

usrmod -G ftpusers kaoyan

最后在在proftpd.conf文件中添加如下内容:

DefaultRoot ~ ftpusers

5。如何使用户登陆时不显示ftp服务器版本信息,以增强安全性

ServerIdent off

6。默认安装proftpd,发现上传文件无法做到断点续传,下载却可以

proftpd默认就支持下载断点续传,但上传就必须设置才能支持

AllowStoreRestart on #这样设置就使服务器支持断点上传续传了

7。如何关闭proftpd把log日志写到wtmp

WtmpLog off

不断更新中。。。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航