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

Solution Verified - Updated -

Issue

  • 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
    

Environment

  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In