Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

30.7. Listing and Displaying sudo Commands, Command Groups, and Rules


Listing and Displaying 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. Click the name of the rule, command, or command group to display its configuration page.

Listing and Displaying sudo Commands, Command Groups, and Rules from the Command Line

To list all commands, command groups, and rules, use the following commands:
  • ipa sudocmd-find
  • ipa sudocmdgroup-find
  • ipa sudorule-find
To display information about a particular command, command group, or rule, use the following commands:
  • ipa sudocmd-show
  • ipa sudocmdgroup-show
  • ipa sudorule-show
For example, to display information about the /usr/bin/less command:
$ ipa sudocmd-show /usr/bin/less
  Sudo Command: /usr/bin/less
  Description: For reading log files.
  Sudo Command Groups: files
Copy to Clipboard Toggle word wrap
For more information about these commands and the options they accept, run them with the --help option added.
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat
Nach oben