QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1150|回复: 2

请教如何设置wu-ftpd?

[复制链接]
发表于 2002-11-12 21:23:58 | 显示全部楼层 |阅读模式
在redhat7.2安装了wu-ftpd2.6.1-18,请教应如何设置?
1:只能用普通名登入,但匿名就不能登入,怎改?
2:用普通名登入可以上传和下传,但下传可以续传,上传就不能续传,怎改?
3:怎样增加匿名帐号用户?
以下是ftpaccess的配置,多谢指教.
# 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 5

# 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                yes                guest,anonymous
delete                no              real,guest,anonymous
overwrite        no                real,guest,anonymous
rename                no                real,guest,anonymous

# Turn on logging to /var/log/xferlog
log transfers anonymous,guest,real inbound,outbound

# 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 rfc82 warn
restricted-uid *
发表于 2002-11-12 21:40:09 | 显示全部楼层
1,可能你没有建立ftp这个用户,用adduser添加一个,归组也是ftp组
2,续传的问题,我也同样一直无法解决,请有经验的朋友解答
回复

使用道具 举报

 楼主| 发表于 2002-11-12 22:51:37 | 显示全部楼层
我已经用adduser加上了/home/ftp,但还是不能.
另请问归组是怎样做的?归组ftp组是什麽意思?可详细解释一下吗?多谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 20:46 , Processed in 0.037609 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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