After patching to Red Hat Enterprise Linux 7.6, sudo gives a permission denied error.
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, tools, and much more.