Show Table of Contents
Disabling and Enabling
Disabling and Enabling
30.8. Disabling and Enabling sudo Rules
Disabling a
sudo rule temporarily deactivates it. A disabled rule is not removed from IdM and can be enabled again.
Disabling and Enabling sudo Rules from the Web UI
- Under the Policy tab, click → .
- Select the rule to disable and click or .

Figure 30.15. Disabling or Enabling a
sudoRule
Disabling and Enabling sudo Rules from the Command Line
To disable a rule, use the
ipa sudo-rule-disable command.
$ ipa sudorule-disable sudo_rule_name ----------------------------------- Disabled Sudo Rule "sudo_rule_name" -----------------------------------
To re-enable a rule, use the
ipa sudorule-enable command.
$ ipa sudorule-enable sudo_rule_name ----------------------------------- Enabled Sudo Rule "sudo_rule_name" -----------------------------------

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.