[CentOS] Jailing SSH users
Maciej Żenczykowski
maze at cela.plSat Jun 3 23:29:20 UTC 2006
- Previous message: [CentOS] Jailing SSH users
 - Next message: [CentOS] Jailing SSH users
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
I think the classic solution is to patch ssh (trivial patch, search around 
on the internet...) with the chroot on /./ in home directory patch, then 
make a users home directory /home/user/./home/user copying (linking) all 
needed libs and binaries into /home/user/{bin,lib,usr,...}
Not the best solution but it works...
Cheers,
MaZe.
On Sat, 3 Jun 2006, support at robohostingsolutions.com wrote:
> Hello everyone, I have been searching for this for a while now, without any
> luck.  I would like to know how to keep ssh users in thier home directory,
> and allow them to execute scripts under their home.  I have a user that
> wants to run a game off the server, but need ssh access to do so, to run a
> shell script.  I have tried rbash and rksh, but, both do not allow the game
> script to be run.
>
>
>
> thanks
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
  - Previous message: [CentOS] Jailing SSH users
 - Next message: [CentOS] Jailing SSH users
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
More information about the CentOS mailing list