CGI permissions problem
Posted: Sun Oct 21, 2012 11:55 am
I have a Nagios core installation-actually, I have 2, 1 is my prototype, and 1 is my working computer. The working computer is a clone of the prototype. Prior to making the clone, I was able to use the nagios system 100%-issuing web commands, re-checking, etc. Now I get the "Sorry, but you are not authorized to commit the specified command." error when I try to so anything. The system uses the htpasswd user file, has the same 'nagiosadmin' user and htpasswd in the file. File permissions are correct-nagios:nagcmd, and the apache user has permissions to all the required files. THis might have happened when I synced files from /usr/local/nagios/ on one machine to the other, but I can't think of anything that would have been different-outside of my manual changes-that would have caused trouble when copying files back and forth.
This seems to be the same problem as here:
http://support.nagios.com/forum/viewtop ... +to+commit
Anyhow, not sure what to do next. It looks like the correct user is logged in. Logging into a fresh browser yields the same results. I haven't yet disabled authentication to see if it works without authentication.
This seems to be the same problem as here:
http://support.nagios.com/forum/viewtop ... +to+commit
Anyhow, not sure what to do next. It looks like the correct user is logged in. Logging into a fresh browser yields the same results. I haven't yet disabled authentication to see if it works without authentication.