File and directory permissions ?
Andreas Ericsson
ae at op5.se
Wed Sep 29 17:55:36 CEST 2004
Charles V. Boehnlein wrote:
> I can execute the check_ping and the check-host-alive via the command
> line when logged in as root
Rule number 1; Always try running things as the user that's intended to
run them. Many things work for root that doesn't work for other users
(try dd if=/dev/zero of=/dev/hda if you don't believe me).
> but Nagios doesn't seem to be able to get
> any data back from any commands.
>
See rule number 1.
> I think I might have a permissions issue.
>
See rule number 1.
> Can anyone direct me to a web page that contains the permissions that
> should be on the Nagios directories and the Nagios files?
>
See rule number 1, and www.nagios.org. You want the documentation link.
> Am I making this too hard? Should everything just by set to owner
> nagios and group nagios? What about the rwx settings at the file
> level?
>
See rule number 1, and Google for "+unix +permissions +filesystem". When
you understand how it works you'll figure it out in about 30 seconds.
> Thanks, Charles
>
You're welcome.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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