Date: Tue, 1 Jul 2003 16:13:06 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: nuckingfutsto@hotmail.com (Nucking Futs) Cc: freebsd-questions@freebsd.org Subject: Re: Account Privilege Message-ID: <200307012013.h61KD7Ot029298@clunix.cl.msu.edu> In-Reply-To: <Law11-F63ZX5w8GVeoX0004c87d@hotmail.com> from "Nucking Futs" at Jul 01, 2003 03:10:55 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm trying to set up user accounts so that they can not view any further > than their home directory. At the very least I don't want them to be able > to do a cd .. and view /usr/home and view the other user accounts > information. How would I set this up so they couldn't view other user > accounts or preferably any other part of the system. What you need is chroot(8). Use it to 'chroot' the user in to their own home directory. Don't forget to put a copy of their shell and other things they need within the directory where they are chrooted. If chroot is not rigorous enough, check out jail(8). ////jerry >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307012013.h61KD7Ot029298>