From owner-freebsd-newbies@FreeBSD.ORG Fri Mar 11 23:24:37 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83B8116A4CE for ; Fri, 11 Mar 2005 23:24:37 +0000 (GMT) Received: from mail.sancho2k.net (spruell.dsl.xmission.com [166.70.24.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8046A43D39 for ; Fri, 11 Mar 2005 23:24:36 +0000 (GMT) (envelope-from lists@sancho2k.net) Received: (qmail 28721 invoked by uid 1011); 11 Mar 2005 23:24:35 -0000 Received: from 10.0.1.4 by molodetz.sancho2k.net (envelope-from , uid 1004) with qmail-scanner-1.24 (clamdscan: 0.80/680. spamassassin: 2.64. Clear:RC:1(10.0.1.4):. Processed in 0.096568 secs); 11 Mar 2005 23:24:35 -0000 Received: from unknown (HELO [10.0.1.4]) ([10.0.1.4]) (envelope-sender ) by mail.sancho2k.net (qmail-ldap-1.03) with SMTP for ; 11 Mar 2005 23:24:35 -0000 Message-ID: <423228B3.7080003@sancho2k.net> Date: Fri, 11 Mar 2005 16:24:35 -0700 From: "Sancho2k.net Lists" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050122 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ptitoliv References: <423228B8.3070406@frenchsuballiance.cjb.net> In-Reply-To: <423228B8.3070406@frenchsuballiance.cjb.net> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: Chroot and shell X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 23:24:37 -0000 ptitoliv wrote: > Hello everybody, > > I am writing here because I am a little confused. I would want to give > an access to someone on my FreeBSD 5.3-RELEASE BOX but I want the > envrionnement to be restricted to the home directory. So I am looking > for a documentation for making chroot on FreeBsd but I can't find it. > Maybe I am looking in a bad way ;(. What context do you want this done in? If you give them FTP access you can chroot them by placing their name in /etc/ftpchroot. If you want SSH access, you could use something like chrootssh or another of many similar utils. DS