LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 6

新手建ftp 个位来帮忙阿

[复制链接]
发表于 2004-10-7 21:29:29 | 显示全部楼层 |阅读模式
这是我的proftpd.conf
不知那里出了问题 我的ftp就是登录不上

"USER anonymous

  331 Anonymous login ok, send your complete email address as your          password.
  PASS xxxx
  530 Login incorrect."

我的要求很简单 只要能密名访问/home/ftp目录 能下载就行
这是我按照 精华贴配置的proftpd.conf 不知道是那出了问题
小生用的是 slackware 10.0

# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal/anonymous operation.

ServerName   "Athlon_r's FTP"
ServerType   standalone
#ServerType   inetd
DefaultServer   on

# Port 21 is the standard FTP port.
Port    6868
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask    022

UseReverseDNS  off

# To prevent DoS attacks, set the maximum number of c hild processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances   160

# Set the user and group that the server normally runs at.
User    nobody
Group    nogroup

# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off

SystemLog   /var/log/proftpd.log
TransferLog   /var/log/xferlog

# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite  on
</Directory>

# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous /home/ftp>
  RequireValidShell  off
  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   6

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

  # An upload directory that allows storing files but not retrieving
  # or creating directories.
#  <Directory incoming/*>
#    <Limit READ>
#      DenyAll
#    </Limit>
#
#    <Limit STOR>
#      AllowAll
#    </Limit>
#  </Directory>

</Anonymous>
 楼主| 发表于 2004-10-8 17:50:36 | 显示全部楼层
沉了...
 楼主| 发表于 2004-10-9 13:35:51 | 显示全部楼层
又沉了

版主 那去了...
 楼主| 发表于 2004-10-10 13:27:27 | 显示全部楼层
顶起来
这是一个简单的问题
怎么没有人 回答呢
我很失望 ...
 楼主| 发表于 2004-10-11 14:38:06 | 显示全部楼层
.........................
不知道说什么了....
发表于 2004-10-11 15:34:55 | 显示全部楼层
其实每个发行版本里都有匿名可访问的吧。不知道你的为什么不可以,
加上
PersistentPasswd                off
试试!
发表于 2004-10-11 15:35:15 | 显示全部楼层
http://proftpd.linux.co.uk/local ... nked/userguide.html

这个是比较详细的说明了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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