Unable to Login to Nagios
Kevin Mitnikc
teckadmin at gmail.com
Wed Jul 15 01:25:53 CEST 2009
Thanks Gius!! I was able to reset the password by doing the following:
# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
# ls -l /usr/local/nagios/etc/htpasswd.users
I can now access the Nagios GUI. Thanks for providing me with the
information and direction I needed.
Much appreciated!!!
Cheers,
K.
On Tue, Jul 14, 2009 at 3:31 PM, Mark Gius <mgius at createspace.com> wrote:
> Default web access is controlled via apache's basic auth module, using a
> password file. The default name for this file is "htpasswd." I would look
> in your apache and nagios directories for a file of that name for a start.
>
> If you can't find that, look in your apache configs and find the nagios
> configuration file. Inside there it should define an "AuthUserFile."
> You'll want to edit that file. You should note that the passwords in that
> file are (hopefully) 1-way hashes, so you'll need to replace your existing
> entry with another hashed one (see the 'htpasswd' command for doing that).
>
> -Gius
>
> Kevin Mitnikc wrote:
>
> That is understandable. What exactly am I looking for in my webservers
> configuration? What information can I provide. I have a typical Nagios
> install with a few servers being monitored.
>
> Is there a way to reset the password for the Nagios web portal or access?
> Not sure how to refer to the web access of Nagios.
>
>
> Thanks,
>
> Kevin
>
> On Tue, Jul 14, 2009 at 3:02 PM, Morris, Patrick <patrick.morris at hp.com>wrote:
>
>> Hi Kevin!
>>
>> On Tue, 14 Jul 2009, Kevin Mitnikc wrote:
>>
>> > I am unable to login to the Nagios web GUI. When I open a browser to
>> access Nagios, I am unable to authenticate. I haven't made any changes or
>> addons since yesterday.
>> >
>> > What do I need to do to reset the password and login? Am I able to do
>> this somehow in the terminal?
>>
>> Since it seems we're starting from square one here, I'd recommend taking
>> a look at your webserver's configuration, determining what it's using to
>> authenticate, and following the trail from there.
>>
>> There are too many possible answers to your question to be able to give
>> you an answer without at least a little information about your
>> configuration.
>>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
>
> ------------------------------
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090714/42bf9852/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list