From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 13:13:12 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 0EB7B37B401 for ; Tue, 1 Jul 2003 13:13:12 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 206B443FE0 for ; Tue, 1 Jul 2003 13:13:11 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h61KD8Og029299; Tue, 1 Jul 2003 16:13:08 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h61KD7Ot029298; Tue, 1 Jul 2003 16:13:07 -0400 (EDT) From: Jerry McAllister Message-Id: <200307012013.h61KD7Ot029298@clunix.cl.msu.edu> To: nuckingfutsto@hotmail.com (Nucking Futs) Date: Tue, 1 Jul 2003 16:13:06 -0400 (EDT) In-Reply-To: from "Nucking Futs" at Jul 01, 2003 03:10:55 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Account Privilege 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: Tue, 01 Jul 2003 20:13:12 -0000 > > I'm trying to set up user accounts so that they can not view any further > than their home directory. At the very least I don't want them to be able > to do a cd .. and view /usr/home and view the other user accounts > information. How would I set this up so they couldn't view other user > accounts or preferably any other part of the system. What you need is chroot(8). Use it to 'chroot' the user in to their own home directory. Don't forget to put a copy of their shell and other things they need within the directory where they are chrooted. If chroot is not rigorous enough, check out jail(8). ////jerry >