LinuxSneaker wrote:
> Morten Lundstrøm wrote:
>
>
>>Hi
>>
>>Is there a way to lock users in their home directories allowing them only
>>to access sub directories in their home dir and a directory with tools
>>that i've specified?
>>I've tried but can't figure it out :-|
>>
>>Thanks
>>Morten
>>
>
> Try the command "chroot".
Not to put a damper on your advice, but 'chroot' won't help without a fair bit
of preparation.
With chroot, each user will require a clone of the root filesystem (/, parts of
/etc, /bin, /sbin, /usr/bin, /usr/sbin, /usr/local, etc.). Without these, you
lock users out of the system completely, rather than just locking them into
their home directory.
--
Lew Pitcher
Master Codewright and JOAT-in-training
Registered Linux User #112576 (
http://counter.li.org/)
Slackware - Because I know what I'm doing.