Permissions Error
Subhendu Ghosh
sghosh at sghosh.org
Fri Dec 6 18:43:46 CET 2002
You may want to provide world read access - but you almost never want to
provide world write access...
-sg
On Fri, 6 Dec 2002, Robertson, Brown wrote:
> Eureka guys. It's definitely a permission issue. Chmod your
> htpasswd.users file (/usr/local/nagios/ets/htpasswd.users if that's
> where you put it) to 777. That should do the trick. There weren't
> sufficient permissions to access that file for the authentication
> information. I'm almost positive this was the cause, but in case it's
> not, I chmod'd all my nagios directories to 777, .htaccess files to 777,
> and htpasswd.users file to 777. Hope that helps. Brown.
>
> Special Thanks to Scott Ripley for his suggestion in trying this.
>
>
>
>
>
>
> -----Original Message-----
> From: Chris Fairbanks [mailto:ChrisF at winterlink.net]
> Sent: Friday, December 06, 2002 12:47 AM
> To: wrnash; Potter, G M (Greg); Nagios-users (E-mail)
> Cc: Robertson, Brown
> Subject: RE: [Nagios-users] RE: Permissions Error
>
> My httpasswd.users file and everything is setup totally correctly and
> use_authentication=1 is set. I have also tried setting all the
> authorized_for's = * but to no avail. From the sounds of it, it looks
> like this might be an issue with RH8.0 or Apache 2.0.40 that ships
> default with RH8.0. Is there anyone on this list that has Nagios
> working on RH8.0?
>
> Thanks,
> Chris
>
>
>
> -----Original Message-----
> From: wrnash [mailto:wrnash at wrnash.net]
> Sent: Thursday, December 05, 2002 3:59 PM
> To: 'Potter, G M (Greg)'; 'Nagios-users (E-mail)'
> Subject: RE: [Nagios-users] RE: Permissions Error
>
>
> Have you did:
> htpasswd /usr/local/nagios/etc/htpasswd.users username
>
> And also is use_authentication=1
> Do you get any error when you type /usr/local/nagios/bin/nagios -v <main
> configuration file> example would be /usr/local/nagios/etc/nagios.cfg
>
>
> Thanks Bill Nash
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Potter, G
> M (Greg)
> Sent: Thursday, December 05, 2002 5:39 PM
> To: Nagios-users (E-mail)
> Subject: FW: [Nagios-users] RE: Permissions Error
>
> What do you have in the cgi.cfg file for the following variables?:
>
> authorized_for_system_information=nagiosadmin
> authorized_for_configuration_information=nagiosadmin
> authorized_for_system_commands=nagiosadmin
> authorized_for_all_services=nagiosadmin
> authorized_for_all_hosts=nagiosadmin
> authorized_for_all_service_commands=nagiosadmin
> authorized_for_all_host_commands=nagiosadmin
>
> Greg
>
> -----Original Message-----
> From: Robertson, Brown [mailto:brown.robertson at maac.net]
> Sent: Thursday, December 05, 2002 4:14 PM
> To: ChrisF at winterlink.net
> Cc: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] RE: Permissions Error
>
>
> Chris, did you ever find out the cause of your permission error? I am
> running Red Hat 8.0 and finding the same problem. I have also followed
> the faq exactly. .htaccess files look good, httpd.conf edited properly.
> Htpasswd.users file is correct. I'm wondering if it might be some
> problem with apache under RH 8.0?
>
> Anyone else have any ideas?
>
> Here's what I have in my httpd.conf:
>
> ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
> <Directory "/usr/local/nagios/sbin/">
> AllowOverride AuthConfig
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> Alias /nagios/ /usr/local/nagios/share/
> <Directory "/usr/local/nagios/share">
> Options None
> AllowOverride AuthConfig
> Order allow,deny
> Allow from all
> </Directory>
>
> And in my .htaccess, located in /usr/local/nagios/sbin and
> /usr/local/nagios/share
>
> AuthName "Nagios Access"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> require valid-user
>
>
> Then I :
>
> htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios
>
>
>
> Still no luck. It will continually request authentication but will never
> accept it.
>
> Any ideas?
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list