pam_cap settings are not applied on SELinux enabled systems

Solution Verified - Updated -

Issue

  • Capabilities configured for users using pam_cap PAM module are not taken into account when users are logging in using either ssh or on console
  • AVC message related to "avc: denied { setcap }" can be seen in the audit.log file

Environment

  • Red Hat Enterprise Linux 7 and later
    • pam_cap

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