sudo requires invoking user’s password by default in Red Hat Enterprise Linux

Solution Verified - Updated -

Issue

  • In RHEL 8 and RHEL 9, the default sudo configuration requires the invoking user's password when executing privileged commands. This behavior applies unless one of the following options is explicitly configured in the sudoers file: !rootpw / !targetpw / !runaspw

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 8
    • 9
  • sudo

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content