QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 909|回复: 4

我的wu-ftpd无法启动

[复制链接]
发表于 2005-1-10 13:27:06 | 显示全部楼层 |阅读模式
我用webmin配置wu-ftpd,

刚配置完能运行,

可后来怎么也运行不起来?

为什么?
发表于 2005-1-10 14:00:17 | 显示全部楼层
将你的/etc/ftpaccess挂出来。
回复

使用道具 举报

 楼主| 发表于 2005-1-10 22:47:16 | 显示全部楼层
我刚学习wu-ftpd,下面是ftpaccess,好像少了点,不知怎么配置

望指教,我是用webmin配的
# 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

# Chroot all users to their home directory by default
# (comment this out if you don't want to chroot most of your users)
guestuser        *
# If you wish to allow user1 and user2 to access other
# directories, use the line below:
# realuser user1,user2


# 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        remote        anonymous,guest        172.16.40.*
class        all        real,anonymous,guest        *
class        local        real        *

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

# 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        no        anonymous,guest
delete        no        anonymous
overwrite        no        anonymous
rename        no        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        rfc822        warn
greeting        full
private        no
anonymous-root        /var/ftp        all
guest-root        /var/ftp        ftp dhm
回复

使用道具 举报

 楼主| 发表于 2005-1-10 23:08:50 | 显示全部楼层
我现在重新安装了wu-ftpd,能启动了,但是匿名登录时,
显示

Can't set guest privileges

怎么回事?
回复

使用道具 举报

发表于 2005-1-11 09:35:13 | 显示全部楼层
1.你的系统有guest用户和guest组吗?
2.试试加一句:
autogroup ftp all
3.将private no改成private yes
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-6 17:23 , Processed in 0.098188 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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