BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Scheduling disabling of alerts



Another option you may want to play around with is using sudo.

Add the apache user to sudoers and allow it to run `at` as a different user without password.

-Chris

On Wed, 11 Jan 2006, Rogerson, Paul wrote:

Date: Wed, 11 Jan 2006 15:07:38 -0600
From: "Rogerson, Paul" <Paul.Rogerson@usoncology.com>
Reply-To: bb@bb4.com
To: "'bb@bb4.com'" <bb@bb4.com>
Subject: {bb} Scheduling disabling of alerts

I have added maint.pl to our system to allow alerts to be disabled, and that
seems to be working fine.  However there is also the option of scheduling
the disable action, which using the "at" command.  The webserver is running
under the apache user which does not have a shell, and therefore the at
command fails at execution.

I can see a couple of options:
   1) Give the Apache user a shell - worry about the security implications
of that
   2) use mod_suexec - I'm concerned that that is opening a can of worms,
and may have security issues of it's own.

I was wondering if anyone has this feature running, and whether there was a
slick way to do this.  I'm running apache2 and bb-btd-1.9h on Centos 4.


Thanks


Paul Rogerson
bb-btf-1.9h



-----------------------------------------
The contents of this electronic mail message and any attachments are
confidential, possibly privileged and intended for the addressee(s)
only.  Only the addressee(s) may read, disseminate, retain or otherwise
use this message.  If received in error, please immediately inform the
sender and then delete this message without disclosing its contents to
anyone.



Chris Naude
cnaude@36bit.com
SDF Public Access UNIX System - http://sdf.lonestar.org
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index