On Sat, 31 Jul 2010, Martin Gregorie wrote:

On Fri, 2010-07-30 at 20:40 -0700, John Hardin wrote:
On Sat, 31 Jul 2010, RW wrote:
On Fri, 30 Jul 2010 13:06:43 -0700 (PDT)
John Hardin <jhar...@impsec.org> wrote:
On Fri, 30 Jul 2010, Bowie Bailey wrote:

service spamd start
- run your stuff
service spamd stop

I don't think the OP wants to mess around with the global system services, so it's not _quite_ that simple...

Actually it is. You can run spamd as an ordinary user.

"service spamd" executes the system-level init script for the global spamd. It has nothing to do with running spamd as an ordinary user.

So use "sudo service spamd start|stop|status" - you can even embed it in a shell script. No problem. I do exactly that in my SA rule development rig.

The point is the OP wanted to run custom rulesets against his corpa and apparently _did not_ have administrative access to the system or permission to change the global system config.

I agree with all of the points made about "service spamd", I was just pointing out that it wasn't appropriate or relevant to the OP's situation.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Windows Genuine Advantage (WGA) means that now you use your
  computer at the sufferance of Microsoft Corporation. They can
  kill it remotely without your consent at any time for any reason;
  it also shuts down in sympathy when the servers at Microsoft crash.
-----------------------------------------------------------------------
 5 days until the 275th anniversary of John Peter Zenger's acquittal

Reply via email to