You can always chroot them into homedir.
rewrite stsh to make a chroot-call via sudo.
Add access to chroot via sudo to everyone.
add user with /bin/chrootsh as they shell.
create a chroot-env for a user in they homedir.
cp favorit shell into chroot-env and symlink it to chrootsh:
cd /home/user; cd bin/; ln -s ksh chrootsh. 
do some tests.
done.

On Tuesday 13 September 2005 16:05, Leonardo Marques wrote:
> Hello people,
> 
> I wanna how to lock a user in his home, he cannot see any other
> directory, just his home. Someone how can i do this?
> 
> Thanks for attention,
> []s
> 
> --
> ------------------------------
> Leonardo Marques
> http://www.analyx.org
> ------------------------------

Reply via email to