From owner-freebsd-questions@FreeBSD.ORG Sat Feb 10 00:30:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FB0416A407 for ; Sat, 10 Feb 2007 00:30:23 +0000 (UTC) (envelope-from g.one@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9A913C428 for ; Sat, 10 Feb 2007 00:30:23 +0000 (UTC) (envelope-from g.one@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout12/MantshX 4.0) with ESMTP id l1A082Ud015674 for ; Fri, 9 Feb 2007 16:08:02 -0800 (PST) Received: from [192.168.2.2] (cpe-065-191-021-225.nc.res.rr.com [65.191.21.225]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id l1A07x1q008602 for ; Fri, 9 Feb 2007 16:08:01 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <060ACDFB-89B9-46CE-9A53-0FC2E08D9D16@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: George Greene Date: Fri, 9 Feb 2007 19:07:48 -0500 X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Subject: Setting up an ftp server for anonymous use, freebsd 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 00:30:23 -0000 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.