以下の内容はhttps://iww.hateblo.jp/entry/20110228/sudoより取得しました。


webサーバからsudoを実行できない

CGIから、sudoを使って hogeユーザとしてコマンドを実行したいので

sudoers

www-data ALL = (hoge) NOPASSWD: ALL

としてみたが、実行できない。

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for www-data:


原因が分かった




以上の内容はhttps://iww.hateblo.jp/entry/20110228/sudoより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14