After patching to Red Hat Enterprise Linux 7.6, sudo gives a permission denied error.

Solution Verified - Updated -


  • After upgrading a server to RHEL7.6, when we run sudo su - we receive the following error, even though we have sudo rule for user.

    sudo: PAM account management error: Permission denied


  • Red Hat Enterprise Linux (RHEL) 7.
  • sudo-1.8.23-1.el7 and later.

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