Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

30.9. Removing sudo Commands, Command Groups, and Rules

Removing sudo Commands, Command Groups, and Rules in the Web UI

  1. Under the Policy tab, click Sudo and select Sudo Rules, Sudo Commands, or Sudo Command Groups.
  2. Select the command, command group, or rule to delete, and click Delete.

    Figure 30.16. Deleting a sudo Command

    Deleting a sudo Command

Removing sudo Commands, Command Groups, and Rules from the Command Line

To delete a command, command group, or rule, use the following commands:
  • ipa sudocmd-del
  • ipa sudocmdgroup-del
  • ipa sudorule-del
For more information about these commands and the options they accept, run them with the --help option added.