Unable to sudo from user account without password
Issue
- User
sudouserbelongs to groupsudogroupin RHEL host - This entry is in
/etc/sudoers.d/firstsudorulesfile:
%sudogroup ALL=(ALL) NOPASSWD: ALL
- However, user
sudoueris unable to switch to root account without password. Everytimesudouserrunssudocommand, the system asks for password.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.