Page 2 of 2
Re: 2014R2.3 update problem
Posted: Thu Jan 15, 2015 5:47 pm
by uidaho
The syntax is correct; it is the same in all other servers where sudo commands are working as expected. Here is the man page for sudoers, which agrees that the syntax is correct. Scroll to the section labeled “Including other files from within sudoers”.
http://www.sudo.ws/sudoers.man.html
Re: 2014R2.3 update problem
Posted: Thu Jan 15, 2015 6:15 pm
by Box293
Have you tried my suggestion? I thought I came across this recently and this was the fix but I could be wrong.
What is your version of CentOS or RHEL?
Here's some other notes I have about a similar problem:
If anyone is seeing issues with sudoers not parsing correctly, in addition to the /etc/sudoers.d/nagiosxi file, make sure there are no ^M characters anywhere. Just found some in a case where "visudo -c" said there were problems on a few lines but they appeared fine until viewed directly in visudo.
I have seen a lot of upgrade failures where the nagios user accounts in /etc/sudoers are duplicated in /etc/sudoers.d/nagiosxi file. We have been removing the /etc/sudoers.d/nagiosxi file.