<br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 1:19 PM, steve f <span dir="ltr"><<a href="mailto:a31modela@hotmail.com">a31modela@hotmail.com</a>></span> wrote:</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>My question is, the docs say to create the group nagcmd and add nagios & wwwrun to the group in order to allow external commands to be submitted thru the web interface.<br><br>What external commands are we talking about here? Are we talking about the service commands from the check screen ( disable checks, schedule downtime, etc) .<br>
</div></blockquote><div><br></div><div>Yes, you will not be able to use those. It's a straightforward unix permissions thing.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Is is safe to assume that if wwwrun was not in the nagcmd group baaadddd things will happen in the web console? Not anywhere near my system so I cant try to see what would happen.<br></div></blockquote><div><br></div>
<div>I wouldn't say entirely bad. You'll have a complete view-only interface; you just won't be able to schedule downtime, etc...</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Any thoughts before I rewrite the central password system to put both a regular user & a daemon user in the same file ?</div></blockquote><div><br></div><div>Can you manually edit the group file or will that bork your system? You *could* chmod 777 the command pipe but since it gets removed and recreated every restart, you'd want to make that part of the init script.</div>
<div><br></div><div>--</div><div>Marc</div><div> </div></div>