Page 1 of 1

sudoers reset after update

Posted: Mon Jan 05, 2015 9:30 am
by WillemDH
hello,

Following Ludmill's guidelines in this post: http://support.nagios.com/forum/viewtop ... 16&t=30574

I added entry in sudoers file.

Code: Select all

nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service *
After update to R2.3 from R2.1, the entries were deleted. Will I have to re-add this entry every time I upgrade Nagios XI?

Grtz

Willem

Re: sudoers reset after update

Posted: Mon Jan 05, 2015 10:23 am
by slansing
It looks like in the "install-sudoers" script that is packaged with the XI tarball, it handles replacement of the current sudoers file with a new one that has our standard lines included. You could modify this script when you download upgrades to tell it not to do that, or at least backup your current sudoers file first so you can see what the new changes (if any) would be.

Re: sudoers reset after update

Posted: Mon Jan 26, 2015 4:59 pm
by WillemDH
Ok, thanks Sam, put it my post-upgrade to-do list. This thread can be closed.

Grtz

Willem

Re: sudoers reset after update

Posted: Mon Jan 26, 2015 5:07 pm
by abrist
Closing.