Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2008 18:23:23 +0800
From:      "joeb" <joeb@a1poweruser.com>
To:        "en0f" <en0f@bokey.mine.nu>, "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: restrict gnome desktop user.
Message-ID:  <NBECLJEKGLBKHHFFANMBGEBLCMAA.joeb@a1poweruser.com>
In-Reply-To: <4902C1B4.30207@bokey.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help


-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of en0f
Sent: Saturday, October 25, 2008 2:50 PM
To: freebsd-questions@FreeBSD. ORG
Subject: Re: restrict gnome desktop user.

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
_______________________________________________

WOW this sure seems to be over kill putting each user in a jail.
There must be some other way at the user id level or from gnome it self to
do this.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NBECLJEKGLBKHHFFANMBGEBLCMAA.joeb>