From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 13:46:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8351237B401 for ; Wed, 23 Apr 2003 13:46:09 -0700 (PDT) Received: from bmyster.com (dsl-006.sacoriver.net [65.162.190.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 730F343F85 for ; Wed, 23 Apr 2003 13:46:08 -0700 (PDT) (envelope-from misterb@bmyster.com) Received: from bmyster.com (dsl-006.sacoriver.net [65.162.190.7]) by bmyster.com (8.12.9/8.12.9) with SMTP id h3NJq89B003271; Wed, 23 Apr 2003 15:52:09 -0400 (EDT) From: Brent Bailey Received: from 66.63.99.171 (SquirrelMail authenticated user misterb) by bmyster.com with HTTP; Wed, 23 Apr 2003 15:52:09 -0400 (EDT) Message-ID: <2449.66.63.99.171.1051127529.squirrel@bmyster.com> Date: Wed, 23 Apr 2003 15:52:09 -0400 (EDT) To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: chrooted ftpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 20:46:09 -0000 thank you for your reponse......Your kidding me ...the stock ftpd that comes with FBSD 4.8 is so different that it no longer supports chroot ??? Are we expected to to deinstall the package and installl some other port to just do chroot ? Are there any other ftp servers that can be used besides lukemftpd other than wu-ftpd...just to keep my options open. what about proftpd ?? thank you Brent > On Wed, Apr 23, 2003 at 10:42:30AM -0400, Brent Bailey wrote: >> Hello, >> Im using FBSD 4.8 and im trying to chroot stock ftpd ....something >> that i have done on many other prior versions of FBSD by doing: >> 1. Kill the inetd process >> 2. vi /etc/defaults/make.conf >> 3. Insert FTPD_INTERNAL_LS=YES at the bottom of the file >> 4. cd /usr/src/libexec/ftpd >> 5. make clean <---works >> 6. make all <--- it fails here >> 7. make install >> >> but for some reason i get this error.. >> >> "make: don't know how to make ls.c. Stop" >> >> >> have things changed in 4.8 or the instructions for chrooting stock >> ftpd changed ??? please help as i have many users that need this >> ability and i dont want them just wandering around in other >> directories >> Any and all help is very appreciated > > I guess that is no longer supported with the default ftpd(8). > However, the system provides lukemftpd(8) as an alternative now. That > supports a much enhanced capability to chroot ftp users, compared to > the regular ftpd(8). No recompilation necessary. > > I believe lukemftpd(8) is a port of the default ftpd from NetBSD. Not > sure why it hasn't completely replaced the original FreeBSD ftpd yet. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH > UK