From owner-freebsd-questions Fri Oct 17 11:20:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA27927 for questions-outgoing; Fri, 17 Oct 1997 11:20:41 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA27918 for ; Fri, 17 Oct 1997 11:20:38 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id LAA03682; Fri, 17 Oct 1997 11:19:50 -0700 (PDT) Date: Fri, 17 Oct 1997 11:19:50 -0700 (PDT) From: Doug White Reply-To: Doug White To: Shawn.Leas@bull.com cc: freebsd-questions@FreeBSD.ORG Subject: Re: ftpaccess question In-Reply-To: <85256532.00666238.00@us-mta1.ma02.bull.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 Thu, 16 Oct 1997 Shawn.Leas@bull.com wrote: > How do you change a particular groups or users ftp-root? You embed a /./ into their home directory spec in the passwd database. This creates a chroot()ed environment at the point specified. For instance, if you want to keep a user stuck in their home directory, you can use the following spec: user:xx ...:/usr/home/user/./: ... WARNING: Make sure that the proper binaires exist in ~/bin/ to do ls and any other functions. It's a chrooted environment, they don't have access to anything above that point. I think :-) I'd suggest reviewing ftpaccess(5), appropriate docs/man pages, and the mail archives for additional assistance. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major