Anonymous ftp Server and xinetd Services

Requirements

Make sure you have the required rpm packages on your system Make sure xinetd  and wu-ftpd are configured to start at boot time Start xinetd now Check to make sure the service has started Configure the anonymous ftp server to permit uploads by anonymous users Configure uploading in the /etc/ftpacccess file upload   /var/ftp   /incoming   yes root daemon 0400 nodirs

Testing Configuration

ftp commands

put: uploads into the current directory from the current local directory
mput: expand wild cards
get: downloads from the current directory to the current local directory
mget: expand wild cards
ascii: text file such as html, htm, perl scripts, pgp scripts
binary: binary file such as gif, jpg, rpms
help: information on all the available commands
quit or bye: quit
user: to enter your user account
ls somefile: prints a listing to somefile on local machine
prompt: toggles interacive prompting

Restricting access with host-based security

Configuration files:
/etc/hosts.allow
/etc/hosts.deny
/etc/xinetd.d/wu-ftpd
/etc/xinetd.conf