荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: freeson (I like Linux!!), 信区: Linux
标  题: ftp的问题,最基本的匿名ftp!!!
发信站: 荔园晨风BBS站 (Tue Sep 25 21:43:03 2001), 转信

环境是redhat7.0,这个问题怎么解决呀

我的匿名ftp总是连不上!!
设置如下:

/etc/passwd文件不改动!!
xinetd.conf不改动!!

只改动ftpaccess文件!!

输入:ftp LASER(我机子名字是LASER)
显示:220(...)server ready
Name(LASERL:root):

输入anonymous回车后,
显示:

guest login ok!Input email as passwd!

输入northsouth@263.net后
显示:
530 login incorrect!
login failed!

你知是什么原因????大虾指教!!
access文件如下::
# This file controls the behavior of the wu-ftpd
# ftp server.
#
# If you're looking for a graphical frontend to
# editing it, try kwuftpd from the kdeadmin
# package.
# Don't allow system accounts to log in over ftp
#deny-uid %-99 %65534-
#deny-gid %-99 %65534-
#allow-uid ftp
#allow-gid ftp
# The ftpchroot group doesn't exist by default, this
# entry is just supplied as an example.
# To chroot a user, modify the line below or create
# the ftpchroot group and add the user to it.
#
# You will need to setup the required applications
# and libraries in the root directory (set using
# guest-root).
#
# Look at the anonftp package for the files you'll need.
guestgroup ftpchroot
# User classes...
class   all   real,guest,anonymous  *
# Set this to your email address
email root@localhost
# Allow 5 mistyped passwords
loginfails 3
# Notify the users of README files at login and when
# changing to a different directory
readme  README*    login
readme  README*    cwd=*
# Messages displayed to the user
message /welcome.msg            login
message .message                cwd=*
# Allow on-the-fly compression and tarring
compress        yes             all
tar             yes             all
# Prevent anonymous users (and partially guest users)
# from executing dangerous commands
chmod           no              guest,anonymous
delete          no              anonymous
overwrite       no              anonymous
rename          no              anonymous
# Turn on logging to /var/log/xferlog
log transfers anonymous,guest,real inbound,outbound
anonymous-root  /var/ftp
upload  /var/ftp   *          no
upload  /var/ftp   /pub       yes   root    daemon  0600  dirs
upload  /var/ftp   /upload    no
upload  /var/ftp   /etc       no
upload  /var/ftp   /bin       no
cdpath  /pub
cdpath  /upload
cdpath  /
# If /etc/shutmsg exists, don't allow logins
# see ftpshut man page
shutdown /etc/shutmsg
# Ask users to use their email address as anonymous
# password
passwd-check rfc822 warn

--
※ 修改:·freeson 於 Sep 25 21:46:07 修改本文·[FROM: 192.168.0.222]
※ 转载:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.0.222]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店