The ftpd here is the Athena ftpd (which does Kerberos tickets and the
ATCH command), with some modifications to make it more conducive to
being used on a heavily used anonymous ftp server.

Most notably, this ftpd will automatically uncompress a file that is
requested without its ".Z" suffix.

To install this ftpd:

1) Check in /source/athena/athena.etc/ftpd to make sure that no Athena
   patches have been made since the last time it was installed.  Check
   dates to see if there are any files in the Athena source tree newer
   than what's in "src", and if there are, then check RCS logs to
   determine what needs to be merged back into this source tree.

2) Attach source, cd into build/pmax_ul4, and do "make Makefile" to
   build the Makefile.  If that doesn't work, try "imake
   -I/source/config -DTOPDIR=/source".

3) Run "make depend", "make clean" and "make" to build it.  You might
   have to attach afsuser to get it to link.

5) Install the ftpd binary as /usr/local/bin/ftpd.

6) Add this to /etc/passwd and /etc/passwd.local:

ftp:*:1000:101:Anonymous FTP,,,,:/usr/spool/ftp:/bin/csh

7) Delete "anonymous" from /etc/ftpusers.

8) Create /usr/spool/ftp, /usr/spool/ftp/bin, and /usr/spool/ftp/etc,
   with contents, permissions and ownership as documented for
   anonymous ftp in the "ftpd" man page.  You might want to use the
   "strip-passwd" script in this directory as a filter for the passwd
   file you install -- it will strip out passwords so that people
   can't ftp the passwd file and crack on it.

9) In addition to copying "ls" into /usr/spool/ftp/bin, copy "zcat"
   there as well.  Don't just make a symlink -- the binary actually
   has to be copied there (although a hard link will suffice, if it's
   on the same partition).

10) If you want to keep close track of what's being ftp'd to/from the
   site, then you need to decide exactly what you want to log and
   specify the correct -d, -l or -L command line options (see the man
   page in the "src" directory) in the inetd command line below,
   modify /etc/syslog.conf to log daemon.debug messages somewhere,
   and modify /etc/athena/newsyslog.conf to trim the logs properly.

11) Modify the ftp line in /etc/inetd.conf so that it looks like this:

ftp	stream	tcp	nowait	unswitched	root	/usr/local/bin/ftpd	ftpd -a -bftp-bugs@charon.mit.edu

   Send a HUP signal to inetd.  You can add -d, -l or -L options to do
   logging, as described above.

12) Create and restore the contents of "pub" from archives, if
   possible.
