找回密码
 注册
查看: 715|回复: 0

为什么我配置的PROFTPD不能用匿名登陆,请各位帮忙看看啊

[复制链接]
发表于 2006-8-15 14:21:23 | 显示全部楼层 |阅读模式
我配置后,用自己配置的用户可以登陆,但是匿名用户却不能登陆,不知道是什么原因,请各位高手帮忙看看吧。

ServerName                      "WiMAX I&V Group"
ServerType                        inetd
DefaultServer                   on
Serverident                     off
DefaultRoot                     /ftp ftpuser

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022   

MaxInstances                        30

# Set the user and group under which the server will run.
User                                nobody
Group                                nobody

<Directory ~/ftp>
  <Limit LOGIN>
    Allowuser aaa
  </Limit>
  AllowOverwrite on
</Directory>

<Directory ~>
  <Limit LOGIN>
    Allowuser Joe
  </Limit>
  AllowOverwrite on
</Directory>


#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>

</Anonymous>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-12 15:01 , Processed in 0.052716 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表