Shell Script in rbash
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 I was somewhat under the assumption that the script would execute in the unrestricted bash shell. |
Instead of calling /bin/ls , try just calling ls. The restricted shell doesn't want you to use the "/" character in your command names. I believe the restricted shell is going to limit you to commands found in your path.
|
Quote:
|
All times are GMT -5. The time now is 10:36 PM. |