From owner-freebsd-questions Fri Aug 30 10: 4:12 2002 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 5541337B400 for ; Fri, 30 Aug 2002 10:04:09 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D7CB43E65 for ; Fri, 30 Aug 2002 10:04:08 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by be-well.ilk.org (8.12.5/8.12.5) with ESMTP id g7UH42NE002510; Fri, 30 Aug 2002 13:04:02 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.5/8.12.5/Submit) id g7UH42Y6002507; Fri, 30 Aug 2002 13:04:02 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: Gerard Samuel Cc: FreeBSD Questions Subject: Re: Restricting user References: <3D6F9A15.5020308@trini0.org> From: Lowell Gilbert Date: 30 Aug 2002 13:04:02 -0400 In-Reply-To: <3D6F9A15.5020308@trini0.org> Message-ID: <44u1lc6zy5.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gerard Samuel writes: > I would like to restrict a user to their home directory. The canonical answers are jail(8) and chroot(8). > jail seems to be just for processes. The distinction escapes me. If a user's processes are jailed, the user can't do anything outside of the jail. jail(8) is the most secure approach to this problem. > What else is there that I can look at. Several shells have "secure" modes, but they're not really intended for security purposes. A malicious attacker can get out of those modes fairly easily. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message