QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1086|回复: 2

有那位朋友成功配置好wu-fptd的,可帮忙吗?

[复制链接]
发表于 2002-11-14 00:12:34 | 显示全部楼层 |阅读模式
请问有那位朋友成功配置好了wu-fptd的,能帮忙把/etc/ftpaccess文件帖上论坛吗?我用的是RedHat7.2,配置了多次也不能配置好,多谢各位大哥.
发表于 2002-11-14 11:44:11 | 显示全部楼层
# 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  *
guestgroup ftp

# Set this to your email address
email [email protected]

# 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 /etc/welcome.msg        login

# 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                guest,anonymous
overwrite        yes                guest,anonymous
rename                yes                guest,anonymous
mkdir           yes             guest,anonymous,real
append          yes             guest
send            yes             guest
#upload          yes             anonymous


upload         /home/upload   yes  upload  upload  0600 dirs

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

restricted-uid *

timeout idle 300
回复

使用道具 举报

 楼主| 发表于 2002-11-14 22:22:38 | 显示全部楼层
多谢llc兄台帮助,wu-ftpd终於可以续传了,但另外的问题又来了,就是可以覆盖写入,原来一个ftp的设置也是这麽困难的啊!
回复

使用道具 举报

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

本版积分规则

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

© 2021 Powered by Discuz! X3.5.

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