I do not have sudo installed on my machine, but I have a third party program which runs as different user other than root and tries to execute sudo command. Is there a way to enable this program to run sudo ?
I have logged in as root and created sudo bash script in /usr/bin with following contents, since I know root password is there a way I can modify the script to run the command with root privileges. Or is there any other way ? Yes this is foolish, but I need this only for testing.
#!/bin/sh
$@