免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2303 | 回复: 1
打印 上一主题 下一主题

[FTP] 斑竹看看,我的proftpd.conf,为什么不能匿名访问?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-28 14:56 |只看该作者 |倒序浏览
把我的proftpd.conf贴出来,斑竹帮忙看一下,是什么地方的问题
匿名不能访问啊  非常奇怪的说
我把那个目录也设置成ftp/ftp的了啊
俺是linux菜鸟  希望大家帮忙啊

  1. # This is a basic ProFTPD configuration file (rename it to
  2. # 'proftpd.conf' for actual use.  It establishes a single server
  3. # and a single anonymous login.  It assumes that you have a user/group
  4. # "nobody" and "ftp" for normal operation and anon.

  5. ServerName                        "modis.whu.edu.cn"
  6. ServerType                        standalone
  7. DefaultServer                        on
  8. ServerIdent                     off
  9. # Port 21 is the standard FTP port.
  10. Port                                21
  11. # Umask 022 is a good standard umask to prevent new dirs and files
  12. # from being group and world writable.
  13. Umask                                022
  14. #DefaultRoot ~ ftpusers
  15. #DefaultRoot /home/www webadmins
  16. # To prevent DoS attacks, set the maximum number of child processes
  17. # to 30.  If you need to allow more than 30 concurrent connections
  18. # at once, simply increase this value.  Note that this ONLY works
  19. # in standalone mode, in inetd mode you should use an inetd server
  20. # that allows you to limit maximum number of processes per service
  21. # (such as xinetd)
  22. MaxInstances                        30
  23. #RequireValidShell               off
  24. # Set the user and group that the server normally runs at.
  25. User                                nobody
  26. Group                                nobody

  27. # Normally, we want files to be overwriteable.
  28. <Directory />;
  29.   AllowOverwrite                on
  30. </Directory>;

  31. # A basic anonymous configuration, no upload directories.
  32. <Anonymous /home/annFtp>;
  33.   User                                ftp
  34.   Group                                ftp
  35.   # We want clients to be able to login with "anonymous" as well as "ftp"
  36.   UserAlias                        anonymous ftp

  37.   # Limit the maximum number of anonymous logins
  38.   MaxClients                        10

  39.   # We want 'welcome.msg' displayed at login, and '.message' displayed
  40.   # in each newly chdired directory.
  41.   DisplayLogin                        welcome.msg
  42.   DisplayFirstChdir                .message

  43.   # Limit WRITE everywhere in the anonymous chroot
  44.   <Limit WRITE>;
  45.     DenyAll
  46.   </Limit>;

  47. </Anonymous>;
  48. DefaultRoot ~
  49. DefaultRoot /home/www webadmins
复制代码

[/code]

论坛徽章:
0
2 [报告]
发表于 2003-04-23 11:14 |只看该作者

斑竹看看,我的proftpd.conf,为什么不能匿名访问??

#RequireValidShell               off
去掉#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP