Setting up anonymous FTP is simple. All you need to do is install the
anon-ftp
RPM package (which you may have already
done at install time). Once it is installed, anonymous FTP will be up
and running.
There are a few files you might wish to edit to configure your FTP
server.
-
/etc/ftpaccess
-
This file defines most of the access control for your FTP server.
Some of the things that you can do are: set up logical "groups" to
control access from different sites, limit the number of
simultaneous FTP connections, configure transfer logging, and much
more. Read the
ftpaccess
man page for
complete details.
-
/etc/ftphosts
-
The
ftphosts
file is used to allow or deny
access to certain accounts from various hosts. Read the
ftphosts
man page for details.
-
/etc/ftpusers
-
This file lists all the users that are
not
allowed to ftp into your machine. For example,
root
is listed in
/etc/ftpusers
by default. That means that
you can not ftp to your machine and log in as root. This is a
good security measure, but some administrators prefer to remove
root
from this file.