Re: restricting shell accounts
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.
--- Jody Grafals <email@example.com> 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 debian-isp-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact