I use a chroot jail for this.

apt-cache search jail

jailer - Builds and maintains chrooted environments
jailtool - Tool to build chroot-jails for daemons

Jailer walks you through a setup, and explains how to add 'ssh',
'bash', etc into the jailed environment.

Mark


--- Jody Grafals <[EMAIL PROTECTED]> wrote:
> 
> 
> What is the best way to restict a shell account just to its own home 
> directory. I am using rbash but this seems to do very little. I would
> 
> like to give users the fredom of ssh access, so they can for example 
> edit there webiste with vi for a quick change,  but not let them view
> 
> every file on the system that is  world readable.
> 
> 
> -- Jody
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


Reply via email to