|
|

楼主 |
发表于 2004-4-29 14:12:29
|
显示全部楼层
/etc/ftpaccess内容如下:
======================================================
#
# Copyright (c) 1999,2000,2001 WU-FTPD Development Group.
# All rights reserved.
#
# Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
# The Regents of the University of California.
# Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
# Portions Copyright (c) 1997 by Stan Barber.
# Portions Copyright (c) 1997 by Kent Landfield.
# Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
# Free Software Foundation, Inc.
#
# Use and distribution of this software and its source code are governed
# by the terms and conditions of the WU-FTPD Software License ("LICENSE").
#
# If you did not receive a copy of the license, it may be obtained online
# at http://www.wu-ftpd.org/license.html.
#
# $Id: ftpaccess,v 1.2 2001/03/13 11:52:12 wuftpd Exp $
#
class all real,guest,anonymous *
limit all 10 Any /etc/msgs/msg.dead
readme README* login
readme README* cwd=*
upload /var/ftp /incoming yes root root 0666 dirs
message /etc/welcome.msg login
message .message cwd=*
log commands real
log transfers anonymous,real inbound,outbound
greeting text xsy's FTP Server ready..
shutdown /etc/shutmsg
email shyxie@163.com
=====================================================
/etc/xinetd.d/wu-ftpd内容如下:
=====================================================
service ftp
{
disable =no
socket_type =stream
wait =no
user =root
server =/usr/sbin/in.ftpd
server_args =-l -a
log_on_success +=DURATION USERID
log_on_failure +=USERID
nice =10
}
=====================================================
基本上最主要是这两个文件的设置,大家看看有什么不妥... |
|