resetting a nagios password

Posted on 2010-01-09
Medium Priority
Last Modified: 2012-06-27
how do you reset a Nagios password. i have seen teh articles on how to create it and can even pico the file to see what is in htpasswd folder but it is no help. does anyone have an answer.
Question by:wannabeageek
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 35

Expert Comment

ID: 26272708
Try to recreate the password file.

- Make not of the path to the htpasswd.users file (let's say for example: /usr/local/nagios/etc/htpasswd.users)
- delete the file
- type the following commands:

# htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
# ls -l /usr/local/nagios/etc/htpasswd.users
# chmod o+r /usr/local/nagios/etc/htpasswd.user
(don't forget to replace the path by the one on your system)

- restart httpd

You should now be able to login with user: nagiosadmin and the pass you were prompted for.

(Note: This will, of course, only work if you have root access to the server)

LVL 35

Accepted Solution

torimar earned 2000 total points
ID: 26272713
"Make not" --- > "Make note"

Author Comment

ID: 32838548
how do i backup (export) and restore (import) a running config file from one 2811 to another using hyperterminal.  i intend on using one as a backup.

Featured Post

WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Transparency shows that a company is the kind of business that it wants people to think it is.
Is your computer hacked? learn how to detect and delete malware in your PC
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question