How to configure sudo with pam_ssh_agent_auth for passwordless execution without NOPASSWD in sudoers?
Issue
- How to execute
sudocommands without a password prompt usingpam_ssh_agent_auth, without requiring theNOPASSWDin thesudoersfile?
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.