IPA sudo does not work for host groups

Solution Verified - Updated -

Issue

When creating a sudo rule, limiting the sudo rule to individual hosts works. However when adding the same systems to a hostgroup and using this instead the sudo command fails with message:

Sorry, user username is not allowed to execute 'command' as root on servername

Environment

  • Red Hat Enterprise Linux 6
  • IPA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.