Logged in as ? or Sorry, but you are not authorized to commit the specified command.

Dan Davis hokie99cpe at gmail.com
Mon May 30 02:25:32 CEST 2005


On 5/29/05, alexus <tmda at alexus.org> wrote:
> 
>  I have setup a authentication, if I wouldn't set it up then I wouldn't 
> see "Logged in as nagios" once I go to my nagios page it doesn't ask me for 
> username or password, but as soon as I click anything under "Monitoring" its 
> asking me for username and password, so I enter my username and password and 
> that's when on the top it says that "Logged in as nagios" but as soon as I 
> manually go and force service to be checked next time or any other manual 
> stuff I get "Logged in as?" and "Sorry, but you are not authorized to commit 
> the specified command."
> 
Ah... you need to also setup authentication on the nagios html directory... 
which, if you installed via RPM, should be in /usr/share/nagios. That will 
cause you to get authenticated first thing when you access the nagios main 
page. After that, if things still don't work, make sure your user (nagios in 
this case) has permissions to use commands, etc. as defined in cgi.cfg. 
Also, as Tonni stated, be sure the permissions on your cmd file are correct 
to allow your web server process to write to the file.

-Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050529/b6048eea/attachment.html>


More information about the Users mailing list