Hi there,

I've just set up an anonymous ftp server on a small LAN and done this
differently to the FAQ:

$ grep ^ftp /etc/passwd
ftp:*:1000:999:anonymous ftp user,,,:/var/spool/ftp:/sbin/nologin

$ man hier

/var/spool/     ftp/           Commonly ~ftp; the anonymous ftp
                                          root directory.

$ ls -ldF /var/spool/ftp
dr-xr-xr-x  6 root  wheel  512 May 24 01:32 /var/spool/ftp/

$ ls -lF /var/spool/ftp
total 16
dr-x--x--x  2 root  wheel  512 Mar  2 09:04 bin/
dr-x--x--x  2 root  wheel  512 Mar  2 09:04 etc/
d--x--x--x  2 root  wheel  512 Mar  2 09:04 hidden/
dr-xr-xr-x  3 root  wheel  512 May 24 01:33 pub/

So I didn't have to add /bin/false to /etc/shells, nor was /home/ftp
needed.

$ grep ^ftp /etc/inetd.conf
ftp stream  tcp     nowait  root    /usr/libexec/ftpd ftpd -llUSA

I didn't alter /etc/login.conf

Please advise if this is OK.

Craig.
-- 
Craig Skinner | http://www.kepax.co.uk | [EMAIL PROTECTED]

Reply via email to