LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2004, 08:52 AM   #1
glowle
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Posts: 2

Rep: Reputation: 0
Logging into Nagios


I am currently stuggling with a Nagios installation, and as a complete newbie to Linux I'm feeling somewhat overwhelmed.

I have (eventually) managed to install Nagios and dependancies. Installed Apache and chose default everything for ease sake. Apache is installed /usr/local/apache2.

Before I created the user login .htaccess file I could access my Nagios.localhost/nagios/. Now that the .htaccess file is in place i cannot. I have configured my htpasswd.users file with a user nagiosadmin / password. I get continually returned to the login box again.

Checking the htpasswd.users file ls -l showed root as owner and group, I found a post referring to this and chown'd and chgrp'd the file to someone/group other than root or nagios, also chmod'd to 644. But still I'm having a problem.

It's giving me a headache now.
 
Old 04-01-2004, 09:27 AM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Did you use the htpasswd command to put passwords and user names in the .htaccess file? If you did you should see the usernames in the file and encrypted passwords. Hope this helps!
 
Old 04-01-2004, 11:56 AM   #3
glowle
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, used the htpasswd command to enter the users and passwords. They appear in the file...but still cannot login...
 
Old 04-01-2004, 11:59 AM   #4
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Make sure that the apache user or group is able to read the file.....I had this before and I think that was the fix
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios? suresheva31 Linux - General 2 10-13-2004 08:55 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 02:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 09:13 AM
Nagios VincentB Linux - Software 3 09-09-2003 10:20 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 03:55 AM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration