菜鸟请问proftpd的设置问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
reson
帖子: 20
注册时间: 2007-02-05 18:06
送出感谢: 0
接收感谢: 0

菜鸟请问proftpd的设置问题

#1

帖子 reson » 2007-02-06 23:24

小弟安装了proftpd后,运行开启的命令sudo ./proftpd
出现一句话
- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
不知道是什么意思,而且如果我在浏览器里面输入
ftp://127.0.0.1测试我的ftp服务器弹出一个对话框要我输入帐号和密码,我输入Anonymous,想匿名登录,却不行~那么匿名登录的帐号和密码是多少呢???
后来输入自己的linux帐号和密码却可以~请问应该怎么样设置才能匿名登录?而且打开后不是~文件夹,而是我设置的/www/proftp/files这个文件夹呢??
附上proftpd.conf配置文件,希望哪位大哥能够教教小弟!


:?:多谢各位了!!!

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

ServerName "My Test FTP"
ServerType standalone
DefaultServer on

# 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

# To prevent DoS attacks, set the maximum number of child 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 30

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

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot /www/proftp/files

# Normally, we want files to be overwriteable.
AllowOverwrite on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /www/proftp/files>
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
RequireValidShell no

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
头像
reson
帖子: 20
注册时间: 2007-02-05 18:06
送出感谢: 0
接收感谢: 0

#2

帖子 reson » 2007-02-07 22:42

已经解决了…………
回复

回到 “服务器基础应用”