sudo skips PAM account module in case NOPASSWD is used in sudoers

Solution Verified - Updated -

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.

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