From owner-freebsd-questions@FreeBSD.ORG Tue Apr 21 21:35:12 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F50C43C for ; Tue, 21 Apr 2015 21:35:12 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF03C107E for ; Tue, 21 Apr 2015 21:35:11 +0000 (UTC) Received: by qcpm10 with SMTP id m10so83477427qcp.3 for ; Tue, 21 Apr 2015 14:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=eIwCP6JOggnS4Q+UCJ5uplfgDWUx3T/Vs5qhd+XpJtg=; b=fd8qCspW8w1nsi4JlIWsMX3dUL6eiYXZn25BJWZIwfed4cMbAAiHwR5IwunPPboy/C RrNyTff4CSCrOxQ9AbMOFTNq5p49ZidV5fvHsFBR8sjHkMnE9vltpvZc7agIIn4qYVIr 0umcBccPzDwCWzSTZNq9Ixel1/nD1QnmyScV1OG9WfvfwLz6adGksfi8au47DXXhbbej ia+Y+kORw1+cdSgzLVTXjjHYcZHHj7sKQL/Guer7GH4NOBRIWaQQLl9yhqwLNAGKbU9K 81naDsvL/rq3qYn9tey1OdVu8LJnd3AiL9uaYD08VN8Q/Bxuu6j5Qh8PAY0x5yXsFdzS mx5Q== X-Received: by 10.140.42.130 with SMTP id c2mr25928987qga.94.1429652111133; Tue, 21 Apr 2015 14:35:11 -0700 (PDT) Received: from localhost.localdomain ([209.181.150.218]) by mx.google.com with ESMTPSA id 69sm2222132qkr.41.2015.04.21.14.35.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2015 14:35:10 -0700 (PDT) Message-ID: <5536C277.30204@gmail.com> Date: Tue, 21 Apr 2015 15:34:47 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: FreeBSD Users CC: Fedora Community Users Support Subject: chroot question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2015 21:35:12 -0000 As root, I ran chroot --userspec=user2:user2 /home/user2 chroot: failed to run command ‘/bin/bash’: Permission denied The dir /home/user2 has in it all the *bin and *lib (links) and usr/*bin and usr/*lib files and subdirs. So, what is chroot good for???