Basically at the moment I am using
rbash to stop a user from leaving his directory on my system. The problem with this is, there is a script in my bin which he needs to be able to run from a script in his bin (it is because I am using screen).
The issue with this is that he gets the permission denied error because he can not CD out of his directory like the script that is in his bin requires him to do.
I thought that the simple answer would to very simply make root the owner of the script by following the instructions in this post but still I got the error.
Does anyone know of either an alternative to using rbash to restrict users which would allow me to let the user run this script, or does someone know of a way that will let him ruhn this script?