sudo giving error "sudo: pam_open_session: System error"
Issue
- cannot use sudo (NOPASSWD) for a specific user
- User with sudo NOPASSWD getting error
[tuser@ipa ~]$ sudo passwd testuser
sudo: pam_open_session: System error
sudo: policy plugin failed session initialization
[tuser@ipa ~]$
Environment
- RHEL 7.6
- sudo-1.8.23-3.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.