在shell_exec中使用sudo命令

时间:2015-05-10 04:46:37

标签: php shell shell-exec

我正在尝试在php文件中使用shell_exec命令。

shell_exec(date)工作正常,但shell_exec(sudo date)无效。

shell_exec中的sudo命令是否有任何限制?

0 个答案:

没有答案
相关问题