Closed albundy83 closed 2 years ago
This assumes bash
is present on the system (which it might not be!).
Yes you are rigth but sudo command is so limited, that's a pity :(
Would there be an issue with passing bash -c "yourcommand"
or sh -c "yourcommand"
as the command to the original code here?
Could be done with:
But it could change the default shell to sh instead of bash