sudo skips PAM account module in case NOPASSWD is used in sudoers
Issue
- sudo access can not be restricted using the PAM time module in case NOPASSWD is used for the user account in /etc/sudoers.
Environment
- Red Hat Enterprise Linux
- sudo < 1.8.23-1.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.