[問題] system()傳送iptables指令

看板Linux作者 (波波龍)時間17年前 (2009/03/19 00:58), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
環境是ubuntu 使用php語法 我用system傳送iptables指令的時候 結果我去終端機用檢查 都沒有成功 然後我傳送像是列出日曆的指令時 就正常 iptables不能傳送嗎? 我有使用setuid把iptables的權限打開了 -- ξ ○- <(╯ 這 , 就是人生呀。 ■)﹥ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.170.52.131

03/19 23:22, , 1F
補上iptables 的絕對路徑試試
03/19 23:22, 1F
文章代碼(AID): #19mIX9gE (Linux)