Authentication Issues
Posted: Mon Feb 04, 2013 9:36 pm
I'm having some trouble getting nagios configured to allow authorization for users I've added.
I have successfully created new users who can log in with their given password and control hosts/services/etc that they are a contact for, but I am having issues granting permission for them to manage things that they are not a contact for.
For example, I want my boss to have his own login where he is essentially given the same permissions as the "nagiosadmin" user. Unfortunately, when logged in under his user name, he cannot view my test dummy hosts that he isn't a contact for. I've added his username, lets call him bob, everywhere that nagiosadmin appears in the cgi config file located in /usr/local/nagios/etc/cgi.cfg so that things that used to look like
authorized_for_all_service_commands=nagiosadmin
now are
authorized_for_all_service_commands=nagiosadmin,bob
I have done this for all of the authorization lines in the file. I've restarted the nagios service, httpd, and even the machine itself. I've also cleared cookies and the cache from my browser, still no dice. I'm having similar issues getting a "read only user" working, where that user can login but can't view anything (as they aren't a contact for anything).
I'm sure I'm missing something really obvious here, any ideas? I'm pretty much a complete newbie as far as authentication protocols.
I have successfully created new users who can log in with their given password and control hosts/services/etc that they are a contact for, but I am having issues granting permission for them to manage things that they are not a contact for.
For example, I want my boss to have his own login where he is essentially given the same permissions as the "nagiosadmin" user. Unfortunately, when logged in under his user name, he cannot view my test dummy hosts that he isn't a contact for. I've added his username, lets call him bob, everywhere that nagiosadmin appears in the cgi config file located in /usr/local/nagios/etc/cgi.cfg so that things that used to look like
authorized_for_all_service_commands=nagiosadmin
now are
authorized_for_all_service_commands=nagiosadmin,bob
I have done this for all of the authorization lines in the file. I've restarted the nagios service, httpd, and even the machine itself. I've also cleared cookies and the cache from my browser, still no dice. I'm having similar issues getting a "read only user" working, where that user can login but can't view anything (as they aren't a contact for anything).
I'm sure I'm missing something really obvious here, any ideas? I'm pretty much a complete newbie as far as authentication protocols.