I have an account configured to utilize rbash as its shell.
I am able to successfully create links to binaries that can be executed by the restricted shell user without problem.
However, how do I go about providing the user with the ability to execute shell scripts from his command line?
For example, I have the bash script:
Code:
#!/bin/bash
/bin/ls
echo "I am finished"
Is it possible to run this script by the restricted shell user without getting the error "-rbash: /bin/ls: restricted: cannot specify `/' in command names"?
I was somewhat under the assumption that the script would execute in the unrestricted bash shell.