Show Table of Contents
Web UI での
コマンドラインからの
29.7. sudo コマンド、コマンドグループ、およびルールの表示
Web UI での sudo コマンド、コマンドグループおよびルールの表示
- Policy タブで Sudo をクリックし、Sudo Rules、Sudo Commands、または Sudo Command Groups のいずれかを選択します。
- 設定ページを表示するコマンド、コマンドグループまたはルールの名前をクリックします。
コマンドラインからの sudo コマンド、コマンドグループおよびルールの表示
全コマンド、全コマンドグループ、または全ルールを一覧表示するには、それぞれ以下のコマンドを使用します。
ipa sudocmd-findipa sudocmdgroup-findipa sudorule-find
特定のコマンド、コマンドグループ、またはルールの情報を表示するには、それぞれ以下のコマンドを使用します。
ipa sudocmd-showipa sudocmdgroup-showipa sudorule-show
たとえば、
/usr/bin/less コマンドの情報を表示するには、以下を実行します。
$ ipa sudocmd-show /usr/bin/less Sudo Command: /usr/bin/less Description: For reading log files. Sudo Command Groups: files
これらのコマンドや対応のオプションに関する情報は、コマンドに
--help オプションを追加して実行してください。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.