Hello,
I have a system that has a perl script that is executed from command line, that throughout its process, executes a binary elsewhere in the file tree.
I have a PHP system that needs to execute this last binary as well, and seems this binary requires root access to run. How do I go about accessing it? There is no workaround given the constraints given by the system in place, I've tried sudo in combination with popen and shell_exec and all it does is output the password argument given!! This is definitely no good! (I've been adding the 2>&1 at the end to get stderr as well).
Any help appreciated.
Thanks.
Saeven