Authentication Issues

Marc Powell marc at ena.com
Fri Mar 10 02:18:43 CET 2006


Please always post on-list so that your experience will be available in
the archives for the benefit of future users.

> -----Original Message-----
> From: Jody Noscov [mailto:jnosc at hotmail.com]
> Sent: Thursday, March 09, 2006 6:50 PM
> To: Marc Powell
> Subject: RE: [Nagios-users] Authentication Issues
> 
> This is what I have
> 
> [root at localhost root]# ls -l /usr/local/nagios/etc/htpasswd.users
> -rw-------    1 root     root           26 Mar 10 09:57
> /usr/local/nagios/etc/htpasswd.users

[chop]

> [root at localhost root]# grep apache /etc/group
> apache:x:48:nagios
> nagcmd:x:501:apache,nagios

htpasswd.users is only readable by root. To fix, run as root --

chmod 640 /usr/local/nagios/etc/htpasswd.users
chown nagios:nagcmd /usr/local/nagios/etc/htpasswd.users

When you add new users or edit the file, do so as the nagios user or
verify permissions afterward.

--
Marc




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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