From owner-freebsd-questions Sat Sep 13 15:21:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA03157 for questions-outgoing; Sat, 13 Sep 1997 15:21:16 -0700 (PDT) Received: from zeus.xtalwind.net (xtal36.xtalwind.net [205.160.242.87]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA03151 for ; Sat, 13 Sep 1997 15:21:08 -0700 (PDT) Received: from localhost (zeus.xtalwind.net [127.0.0.1]) by zeus.xtalwind.net (8.8.7/8.8.5) with SMTP id SAA08969; Sat, 13 Sep 1997 18:20:53 -0400 (EDT) Date: Sat, 13 Sep 1997 18:20:53 -0400 (EDT) From: jack X-Sender: jack@zeus.xtalwind.net To: Craig Shrimpton cc: questions@FreeBSD.ORG Subject: Re: Hiding user directories without breaking ftp? In-Reply-To: <341A2175.1F99A249@os.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 13 Sep 1997, Craig Shrimpton wrote: > Is /bin/ls hardcoded in the source or does it find ls via the path in a chroot'd > environment? > > Susie Ward wrote: > > > Why not use wu-ftpd with the guest group, this will chroot the users into > > their own home directories and they can't back out past that. I'm using > > this with great success and I only hafta put /bin/ls in each users > > directory. ls is the fly in the ointment. :( I got around it by putting a statically linked copy of ls in /usr/home/bin and creating a bin directory in each user's home directory with a hard link to /usr/bin/ls. /usr/home/bin and /usr/home/bin/ls are both owned by root with 111 permissions. -------------------------------------------------------------------------- Jack O'Neill Finger jacko@diamond.xtalwind.net or jack@xtalwind.net http://www.xtalwind.net/~jacko/pubpgp.html #include for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD --------------------------------------------------------------------------