From owner-freebsd-newbies@FreeBSD.ORG Sat Mar 12 08:29:44 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 20B4716A4CE for ; Sat, 12 Mar 2005 08:29:44 +0000 (GMT) Received: from mail.deathnet.id.au (203-217-32-53.dyn.iinet.net.au [203.217.32.53]) by mx1.FreeBSD.org (Postfix) with SMTP id BA2DF43D46 for ; Sat, 12 Mar 2005 08:29:42 +0000 (GMT) (envelope-from admin-list@deathnet.id.au) Received: (qmail 87602 invoked from network); 12 Mar 2005 08:31:13 -0000 Received: from unknown (HELO ?192.168.1.74?) (192.168.1.74) by deathnet.id.au with SMTP; 12 Mar 2005 08:31:13 -0000 Message-ID: <4232A878.30000@deathnet.id.au> Date: Sat, 12 Mar 2005 19:29:44 +1100 From: "admin-list@deathnet.id.au" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Sancho2k.net Lists" References: <423228B8.3070406@frenchsuballiance.cjb.net> <423228B3.7080003@sancho2k.net> In-Reply-To: <423228B3.7080003@sancho2k.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: Sat, 12 Mar 2005 08:29:44 -0000 Sancho2k.net Lists wrote: > 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. Try CHRSH http://www.adg.us/computers/chrsh.html -- Cheers, Mick E-mail: admin-list@deathnet.id.au ¤°`°º¤ø,¸¸,ø¤ DeathNet - www.deathnet.id.au ¤º°`°º¤ø,¸¸,ø¤