From owner-freebsd-questions Tue Oct 29 17:42:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA18453 for questions-outgoing; Tue, 29 Oct 1996 17:42:29 -0800 (PST) Received: from zeus.xtalwind.net (h-smeagol.x31.infi.net [206.27.115.89]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA18447 for ; Tue, 29 Oct 1996 17:42:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zeus.xtalwind.net (8.8.2/8.8.2) with SMTP id UAA02398; Tue, 29 Oct 1996 20:42:03 -0500 (EST) Date: Tue, 29 Oct 1996 20:42:03 -0500 (EST) From: jack X-Sender: jack@localhost To: "Neil I. Fowler Wright" cc: freebsd-questions@FreeBSD.org Subject: Re: FTP Users In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 29 Oct 1996, Neil I. Fowler Wright wrote: > I have a server running as an ftpd server only for which I have a > particular requirement. > > It has 3 users, 2 normal Id's and one 'admin' id that is non-root > and non-wheel. I assume that to have the normal users only have access to > their own areas, and the admin have access to all users areas, I need to > sort out the group allocations for the 'normal' users. If I make all the > users the same group, then how do I stop all the users having access to > each others data. Use wu-ftpd. In /etc/ftpaccess use: guestgroup normal1gid guestgroup normal2gid Make sure the `admin' dude's group is not one of those two. When the other two connect they will be chroot(ed) to their own home directory. You'll have to add a /bin directory to each of their home directories with a copy of, or a hard link to, a statically linked version of ls. Or just be Mr. Nasty and make them remember what's in there. :) -------------------------------------------------------------------------- Jack O'Neill Finger jacko@onyx.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 --------------------------------------------------------------------------