Install the NetKit-B and anonftp RPMs. NetKit-B has the FTP server daemon; anonftp has the binaries, libraries, and things that will go in the FTP directory.
/home/ftp is the root directory for your FTP server. anonftp sets most of this up for you, but there's a few things that you'll need to do yourself.
You'll want to put copies of
/home/ftp/etc, so that the
ls command will print user names and
group names when it lists files. However, you should remove the
encrypted passwords from the passwd file and replace them with
asterisks to improve security. To copy
/home/ftp/etc/passwd, replacing the passwords with asterisks, do this:
sed -e 's/:[^:]*:/:*:/' /etc/passwd >~ftp/etc/passwd
There are no passwords in
/etc/group under Red Hat Linux, so you can
just copy /etc/group as is:
cp /etc/group ~ftp/etc/group