Re: [CentOS] Jailing SSH users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux