This can be used by a user with sufficient sudo privileges to run commands as root even if the Runas specification explicitly disallows root access as long as the ALL keyword is listed first in the Runas specification.
と書いてあるのに、そこ抜かして説明するからわけわかんない。 例にあるように、 myhost bob = (ALL, !root) /usr/bin/vi としたら、先頭のキーワードにALLがあるため、除外したはずのrootで実行できてしまう、という問題です。 (引用部中のboldは私が指定しました)
キーワードALLが設定の先頭にある場合、です (スコア:2)
sudo 公式サイトの説明に、
This can be used by a user with sufficient sudo privileges to run commands as root even if the Runas specification explicitly disallows root access as long as the ALL keyword is listed first in the Runas specification.
と書いてあるのに、そこ抜かして説明するからわけわかんない。
例にあるように、
myhost bob = (ALL, !root) /usr/bin/vi
としたら、先頭のキーワードにALLがあるため、除外したはずのrootで実行できてしまう、という問題です。
(引用部中のboldは私が指定しました)
Re: (スコア:0)
タレコミ文の末尾よみました?