Subject: Re: Anonymous FTP
To: coddie <coddie@box43.gnet.pl>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-pmax
Date: 11/21/1999 15:15:35
On Sat, Nov 20, 1999 at 11:35:58AM -0500, mcmahill@mtl.mit.edu wrote:
> I've not done it before, but it looks like the things to do are:
> 
> % vipw
> 
> to add a line to the /etc/passwd file that looks like:
> 
> ftp:*:32764:4000:&:/ftp:/sbin/nologin
> 
> Where /ftp should be replaced with whatever directory is your anonymous
> ftp directory.
> 
> Edit /etc/group and add the following group:
> 
> ftp:*:4000:
> 
> Edit /etc/ftpusers and make sure you have the following 2 lines:
> 
> ftp     allow
> anonymous allow

I think you also need to put /sbin/nologin to /etc/shells.
Also, you need to create a /ftp/bin with a copy of /bin/ls in it
(change /ftp with the real root of the anonymous ftp server).

--
Manuel Bouyer <bouyer@antioche.eu.org>
--