Page 1 of 1

How encapsulate users

Posted: 2007/01/22 18:05:11
by burjans
I need to know as I can put cages to my users Linux CentOS 4.x, my users of Mail are usuary of the Linux, which desire is to have the security which if some user gives him to connect itself to my Linux with ssh it cannot leave to another place that is not /home so that it cannot change nothing, I believe that to that they call to him to put cages to the user or to encapsulate.

Re: How encapsulate users

Posted: 2007/01/22 20:30:31
by unspawn
You mean how to *chroot* a user. If it's for generic purposes there's a lot of chroot howto's on the 'net, if it's for SSH here's two: http://www.fuschlberger.net/programs/ssh-scp-chroot-jail/, http://olivier.sessink.nl/jailkit/howtos_ssh_only.html.