From owner-freebsd-questions Wed Sep 25 5:31:31 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 8580C37B401 for ; Wed, 25 Sep 2002 05:31:30 -0700 (PDT) Received: from smtp-relay1.noc.dsvr.net (smtp-relay02.tc.dsvr.net [212.69.192.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB4A843E4A for ; Wed, 25 Sep 2002 05:31:29 -0700 (PDT) (envelope-from james@stealthnet.co.uk) Received: from [212.69.208.113] (helo=stealthnet.co.uk) by smtp-relay1.noc.dsvr.net with esmtp (Exim 3.34 #1) id 17uBKB-0003Hy-00; Wed, 25 Sep 2002 13:31:27 +0100 Received: from JAMES (stealthn.gotadsl.co.uk [81.6.250.189]) by stealthnet.co.uk (8.11.6/8.11.6) with SMTP id g8PCVRv05795; Wed, 25 Sep 2002 13:31:27 +0100 From: "James Green" To: "Gerard Samuel" , "Brossin Pierrick" Cc: "FreeBSD Questions" Subject: RE: Chroot Date: Wed, 25 Sep 2002 13:32:04 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3D90A635.5060900@trini0.org> 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 [ snip ] > With these modifications, I can ssh into the account, but I can still > "break root" by cd'ing out of the home directory. Hrm, aren't you supposed to soft mount the home directory to a blank place, e.g. mount /home/user /usr/local/chroots/user at which point "/" is /usr/local/chroots/user which "looks" like /home/user? I dunno, never done it, but I did read a howto on it a little while back. HTH James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message