I am trying to use shell_exec
command in a php file.
shell_exec(date)
works fine, but shell_exec(sudo date)
is not working.
Is there any limitation with sudo command in shell_exec
?
I am trying to use shell_exec
command in a php file.
shell_exec(date)
works fine, but shell_exec(sudo date)
is not working.
Is there any limitation with sudo command in shell_exec
?