Permissions Error

Karl DeBisschop karl at debisschop.net
Sat Dec 7 13:12:36 CET 2002


On Fri, 2002-12-06 at 12:11, 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. 

777?

methinks you must like cleaning up hacked servers at 3 in the morning.

I'd suggest or 644 or 664. You do not want the file writable by the
world. If it needs to be, then you have a configuration problem that
should be fixed. In particular, I set nagios command group to www in the
config file, so www can write to the pipe. Thus nagios (the owner) and
www (the web server user) are the only two people who can write the
pipe, as there's nobody else in either of those groups.

Hope tha helps, but try to stay away from 777 if you possibly can.

-- 
Karl DeBisschop <karl at debisschop.net>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list