Date: Sat, 13 Sep 1997 18:20:53 -0400 (EDT) From: jack <jack@diamond.xtalwind.net> To: Craig Shrimpton <craigs@os.com> Cc: questions@FreeBSD.ORG Subject: Re: Hiding user directories without breaking ftp? Message-ID: <Pine.BSF.3.96.970913181039.8943A-100000@zeus.xtalwind.net> In-Reply-To: <341A2175.1F99A249@os.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <std_disclaimers.h> for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD --------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970913181039.8943A-100000>