Steps how to setup anonymous ftp account:
=========================================

Infos:
~~~~~~
- read p. 295 of "UNIX System Administration Handbook" 
  (Nemeth, Snyder, Seebass)
- read man pages of ftpd and ftp

Automated setup-scripts: (from ftp://viz.tamu.edu/pub/sgi/software/ftp)
~~~~~~~~~~~~~~~~~~~~~~~~
- make-anonftp 
  -> must be superuser to run this script
  -> edit script to match local system setup (FTPDIR, FTPUID)
  -> will edit /etc/passwd file
  -> will create home directory for the anonymous ftp account
  -> will create ~ftp/etc/group and ~ftp/etc/group/passwd files
- mkftp
  -> will create anonymous/restricted FTP directory hierarchy only

Single Steps:
~~~~~~~~~~~~~
- set up user account 'ftp' in UNIX-machine's /etc/passwd
- create ftp-subdirs: bin, dev, etc, lib (owned by root)
- create ftp-subdirs: pub, ... (owned by ftp)
- set sticky bit for pub: chmod 1777 ~ftp/pub
- copy ls to ~ftp/bin/
- copy /etc/passwd and /etc/group to ~ftp/etc/ and truncate these 
  files so that only necessary infos are left
- set permissions similar to ftp-directory tree on diapason
- make sure ftps is enabled in /etc/inetd.conf
- fill ~ftp/pub with goodies
- create /etc/ftpusers to prevent listed users from using ftp


