免费注册 查看新帖 |

Chinaunix

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

[FTP] 我的proftp就是不能匿名登陆 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-14 15:24 |只看该作者 |正序浏览
大家以前的帖子都被我翻出来了    照着改也不行啊 ! 奇怪 ?:(

论坛徽章:
0
16 [报告]
发表于 2004-08-13 11:14 |只看该作者

我的proftp就是不能匿名登陆

匿名用户的组是nobody

论坛徽章:
0
15 [报告]
发表于 2003-06-20 18:23 |只看该作者

我的proftp就是不能匿名登陆

在控制面版中的service maneger中停掉
然后在rpm软件包管理器中卸载 wuftpd软件

论坛徽章:
0
14 [报告]
发表于 2003-01-18 11:39 |只看该作者

我的proftp就是不能匿名登陆

原帖由 "xmgu" 发表:
./proftpd -n
接下来你匿名登陆
你就会发现问题在那里了~~~~
我试过的~~
这个命令是在哪个路径下进行?

论坛徽章:
0
13 [报告]
发表于 2003-01-18 02:25 |只看该作者

我的proftp就是不能匿名登陆

./proftpd -n
接下来你匿名登陆
你就会发现问题在那里了~~~~
我试过的~~

论坛徽章:
0
12 [报告]
发表于 2003-01-17 21:02 |只看该作者

我的proftp就是不能匿名登陆

我不知在哪停KWU——FTP,
我把楼上的大哥的全文一下全部帖在我的proftp.conf里了,还是不行

论坛徽章:
0
11 [报告]
发表于 2003-01-17 15:18 |只看该作者

我的proftp就是不能匿名登陆

这是我的proftpd.conf
# 这个示例配置文件举例说明了如何配置两个匿名目录和一个客人用户(和匿名用户类似不
# 过在登录时需要一个有效的密码)。

ServerName "FTP Server"
ServerType standalone
ServerIdent on "Hello, 欢迎光临!"

# 21 端口是标准的FTP端口。

Port 21

# 传输速率
#MaxConnectionRate 1

DeleteAbortedStores on
# 如果你根本不希望任何普通用户(normal users)登录的话,去掉下面这节的注释。
<Limit LOGIN>;
DenyAll
</Limit>;

# 设置服务器在正常运行时使用的用户和用户组。

User nobody
Group nogroup
# 为了阻止 DoS 的攻击,设置子进程的最大数目为30。如果你需要允许同一时刻的并发连
# 接多于30个的话,只要简单的增加这个值就可以了。注意,这个设置只有在 standalone
# 模式下才起作用,在 inetd 模式下,你需要使用 inetd 服务器来限制每个服务所允许的
# 最大的进程数(xinetd也是一样的)。

MaxInstances 30

# 设置数据连接在被终止前被延续("stall"的最大秒数。

TimeoutStalled 300

# 限制连接时间
TimeoutLogin 30
TimeoutIdle 120
TimeoutNoTransfer 300

# 服务器在用户登录时显示 'welcome.msg' 中的内容,而 '.message' 的内容出现在每一
# 个新的子目录下。

DisplayLogin .welcome.msg
DisplayFirstChdir .message

DirFakeUser     on
DirFakeMode     000
DirFakeGroup    on

# 我们的"基本"匿名服务器配置包括了一个单一的上传目录("uploads"

<Anonymous ~ftp>;

# 如果在上面限制了所有的用户的话,这里重新允许匿名用户登录。

<Limit LOGIN>;
AllowAll
</Limit>;

# 达到最大客户连接数时给出的信息。(能否用中文还未测试。)

MaxClients 10 "对不起,达到最大用户数:%m -- 请稍后再试"

User ftp
Group ftp

# 使客户端能够使用 "anonymous" 作为 "ftp" 用户的别名来登录。

UserAlias anonymous ftp
# 限制连接数
MaxClientsPerHost 1 "每个匿名客户只能允许一个连接,如果需要更多连接,请与我联系"
# 下载速度限制
#RateReadBPS    10
#TransferRate   1
# 限制整个匿名目录的任何写行为。
<Limit WRITE>;
DenyAll
</Limit>;
GroupOwner      king
# 上传目录允许存放(storing)文件但不允许检索、取回(retrieving)文件,也不允许创
# 建目录。

<Directory upload/*>;
<Limit READ>;
DenyAll
</Limit>;

<Limit STOR>;
AllowAll
</Limit>;

<Limit WRITE>;
DenyAll
</Limit>;

<Limit MKD>;
AllowAll
</Limit>;

<Limit RNFR>;
AllowAll
</Limit>;
</Directory>;

</Anonymous>;

# 最后一个匿名示例创建了一个 "guest" 帐号,当用户知道该用户的密码时就可以通过认
# 证登录了。

<Anonymous ~king>;

User king
Group nobody
AnonRequirePassword on

<Limit LOGIN>;
AllowAll
</Limit>;
# 除了可信任的主机外,禁止其他主机的任何写动作。

<Limit WRITE>;
Order allow,deny
Allow from all
#Deny from all
</Limit>;

</Anonymous>;

论坛徽章:
0
10 [报告]
发表于 2003-01-17 12:08 |只看该作者

我的proftp就是不能匿名登陆

[quote]原帖由 "birdeng"]楼上所说的“关联起来”怎么做啊?[/quote 发表:

我的conf里关于anonymous的一段:

#########################################################
# A basic anonymous configuration, no upload directories.
#########################################################
<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>;

  <Limit LOGIN>;
   Order                 deny,allow
   Deny                 from            172.28.32.
   Allow                from            172.28.31.
   </Limit>;
</Anonymous>;

论坛徽章:
0
9 [报告]
发表于 2003-01-16 09:44 |只看该作者

我的proftp就是不能匿名登陆

楼上所说的“关联起来”怎么做啊?

论坛徽章:
0
8 [报告]
发表于 2003-01-15 21:54 |只看该作者

我的proftp就是不能匿名登陆

好像proftpd是要建一个用户(比如usera),然后把匿名用户与该用户关联起来,对usera进行的限制就是对匿名用户的限制.然后就可以实现匿名ftp了.
  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP