AVCs seen and password requested anyway when sudoing with pam_ssh_agent_auth enabled
Issue
-
Even though
pam_ssh_agent_auth
has been configured to provide password-lesssudo
, confined users such asstaff_u
orsysadm_u
are requested to enter their password:$ id -Z staff_u:staff_r:staff_t:s0-s0:c0.c1023 $ sudo -i [sudo] password for <user>:
-
Users mapped to
unconfined_u
cansudo
password-less without issue:$ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 $ sudo -i #
Environment
- Red Hat Enterprise Linux 7 (RHEL7)
- Red Hat Enterprise Linux 8 (RHEL8)
- pam_ssh_agent_auth
- sudo
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.