简体   繁体   English

shell_exec | 允许特定程序在apache用户下运行

[英]shell_exec | allow specific program to run under apache user

can i run specific command/program like x server that need root privileges using shell_exec from php. 我可以使用php中的shell_exec运行需要root特权的特定命令/程序,例如x服务器。 i just want to run x server program from php shell_exec(). 我只想从php shell_exec()运行x服务器程序。 note: php is running under suphp, OS is centos. 注意:php在suphp下运行,操作系统为centos。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM