Re: [請益] 要怎麼用php程式切換成root權限?
你需要的是 suPHP .
http://www.suphp.org/
suPHP is a tool for executing PHP scripts with the permissions of their
owners. It consists of an Apache module (mod_suphp) and a setuid root binary
(suphp) that is called by the Apache module to change the uid of the process
executing the PHP interpreter.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.104.45.2
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章