need to fix permissions issue on libexec directory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

need to fix permissions issue on libexec directory

Post by bosecorp »

accidentally changed the permission on

/usr/loca/nagios/libexec

and now I am getting this error in some of the check.

Warning: This plugin must be either run as root or setuid root.

I need to know what specifc permission I need have in the libexec directory and in all the respective plugins
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: need to fix permissions issue on libexec directory

Post by cmerchant »

This should reset the permissions:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reset_config_perms
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: need to fix permissions issue on libexec directory

Post by bosecorp »

great!

how do I do the same in the workers?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: need to fix permissions issue on libexec directory

Post by tgriep »

Did you change the permission's on your workers?
If not, they should be fine.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: need to fix permissions issue on libexec directory

Post by bosecorp »

Yes, I did as well.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: need to fix permissions issue on libexec directory

Post by tgriep »

Run this

Code: Select all

chown -R nagios.nagios  /usr/local/nagios/libexec
chmod -R 755  /usr/local/nagios/libexec
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: need to fix permissions issue on libexec directory

Post by bosecorp »

you can close the ticket now
Locked