From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 06:50:44 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 350ED1065676 for ; Sat, 25 Oct 2008 06:50:44 +0000 (UTC) (envelope-from en0f@bokey.mine.nu) Received: from mine.nu (60-242-68-238.static.tpgi.com.au [60.242.68.238]) by mx1.freebsd.org (Postfix) with ESMTP id DFC328FC14 for ; Sat, 25 Oct 2008 06:50:43 +0000 (UTC) (envelope-from en0f@bokey.mine.nu) Received: by mine.nu (Postfix, from userid 1007) id 66BF4EBBB4; Sat, 25 Oct 2008 17:20:39 +1030 (CST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on machapuchre.volcano.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=ALL_TRUSTED autolearn=ham version=3.2.5 Received: from machapuchre.volcano.com (localhost.localdomain [127.0.0.1]) by mine.nu (Postfix) with ESMTPSA id E570AEBBAE for ; Sat, 25 Oct 2008 17:20:28 +1030 (CST) Message-ID: <4902C1B4.30207@bokey.mine.nu> Date: Sat, 25 Oct 2008 17:20:28 +1030 From: en0f User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: "freebsd-questions@FreeBSD. ORG" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: restrict gnome desktop user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 06:50:44 -0000 joeb wrote: > How do it configure gnome to restrict users to their home directory? > I don't want them to be able see any system directories or other users? Dont know about gnome per se but you can use chroot/jails to restrict users to see only stuffs you want them to see for any environment. Just build the chroot and copy over the gnome-specific binaries to its chrooted-equivalent (copy or link /usr/bin/gnome-panel to /home/chrooted/johndoe/usr/bin/gnome-panel). I do not know of any tools that does this automatically and also I do not know how gdm will work out. e.g - Normal /home/johndoe/ | |___ .bashrc |___ .sig chrooted /home/chroot/johndoe/ | |__ bin/ |__ usr/ -- en0f