Account Privilege
Jerry McAllister
jerrymc at clunix.cl.msu.edu
Tue Jul 1 13:13:12 PDT 2003
>
> 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
>
More information about the freebsd-questions
mailing list