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
need to fix permissions issue on libexec directory
Re: need to fix permissions issue on libexec directory
This should reset the permissions:
Code: Select all
cd /usr/local/nagiosxi/scripts
./reset_config_permsRe: need to fix permissions issue on libexec directory
great!
how do I do the same in the workers?
how do I do the same in the workers?
Re: need to fix permissions issue on libexec directory
Did you change the permission's on your workers?
If not, they should be fine.
If not, they should be fine.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: need to fix permissions issue on libexec directory
Yes, I did as well.
Re: need to fix permissions issue on libexec directory
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!
Re: need to fix permissions issue on libexec directory
you can close the ticket now