Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 19:07:48 -0500
From:      George Greene <g.one@mac.com>
To:        freebsd-questions@freebsd.org
Subject:   Setting up an ftp server for anonymous use, freebsd 6.2
Message-ID:  <060ACDFB-89B9-46CE-9A53-0FC2E08D9D16@mac.com>

next in thread | raw e-mail | index | archive | help
i would like to use freebsd 6.2 to setup an ftp server that allows  
anonymous access and does not allow those anonymous user to see any  
other directories other than the pub directory where the files will  
reside.

so far i have been able to turn on the ftp server.  in the file,  
inetd.conf i removed the # from the line.  i then ran inetd.  i  
checked to see if the server was running, ftp abc@192.168.2.8, and i  
got back the user and password prompts.  so it's working.
but, when i move to another machine, the ftp server does not answer.   
ssh works though.  i can ssh into the freebsd box from another machine.

when i type in anonymous as the user name, the login fails, and i  
don't even get the password prompt.  i do not see /etc/ftphosts, /etc/ 
ftpwelcome, /etc/ftpmotd/, /var/ftp/, /var/ftp/pub/, /var/ftp/bin, / 
etc/xinetd.conf

i been reading freebsd unleashed, an old edition, but i don't  
understand how the setup anonymous ftp access.  please help.

thanks,

g.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060ACDFB-89B9-46CE-9A53-0FC2E08D9D16>