Re: Restricted Bash - Not so restrictive (in 4.2 as well)
From:
Jonathan Nieder
Subject:
Re: Restricted Bash - Not so restrictive (in 4.2 as well)
Date:
Wed, 11 Jan 2012 05:43:25 -0600
User-agent:
Mutt/1.5.21 (2010-09-15)
Sarnath K - ERS, HCLTech wrote:
> Apart from this, BASH Documentation says "When a command that is
> found to be a shell script is executed (see COMMAND EXECUTION
> above), rbash turns off any restrictions in the shell spawned to
> execute the script.".
>
> Does this mean that a guy with restricted shell can just write a
> shell script to do a privileged operation and get away with it?
"./my-custom-script" contains a "/".