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