sudo'ing from a confined user when having pam_ssh_agent_auth in the PAM stack fails

Solution Verified - Updated -

Issue

  • On systems configured with pam_ssh_agent_auth, sudo'ing password-less from a confined user mapped to staff_u or sysadm_u fails

Environment

  • Red Hat Enterprise Linux 8 and 9
    • pam_ssh_agent_auth

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