 Author:  Greg Whittier
 Email Address: gswhitti@langmuir.uchicago.edu
 Web Page (if applicable):
 One-line summary of topic\question:  Creating an ftp-only user restricted to
					a  given directory
 Original date of FAQ topic:  9/2/97
 Date FAQ topic was last modified:
 
 Fully qualified question (if applicable):  
 
 Related Issues (if applicable):
 
 
 Related Links: ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
		http://www.probe.net/~mgleason/ncftpd/index.html
 
 Answer:

	While it is possible to set up ftp-only users who are restricted to 
a given directory using  wu-ftpd which ships with Red Hat, I wholeheartedly 
recommend NcFTPd (which isn't free, but it's cheap) for this. See the 
guest-howto at the above URL for the wu-ftpd way.  This method requires
requires making an entry in /etc/passwd for the ftp-only user and giving
them an invalid shell like /bin/false.  This shell is then added to /etc/shells.
One should be warned that this may allow this user unintended services (like 
receiving mail,pop,etc.).  Also by putting the shell used by the ftp-only user 
in /etc/shells, it will allow them to execute commands from .forward.
	NcFTPd allows you to have ftp-only users who don't have a uid (i.e. 
they're not in /etc/passwd). This prevents the problem of unintended services. 
NcFTPd also doesn't require setting up a separate directory structure 
of /etc,/bin,/lib, and so forth in the directory you want to restrict users to.
You can find more info about NcFTPd at the above link.  I don't have any
affiliation except as a satisfied user.
