2014R2.3 update problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: 2014R2.3 update problem

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: 2014R2.3 update problem

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked