From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Add a plugin
Date: Wed, 23 Dec 2009 08:33:50 -0500 [thread overview]
Message-ID: <200912230833.50762.sgrubb@redhat.com> (raw)
In-Reply-To: <tencent_229DEEB73D8F9C9064E859CB@qq.com>
On Wednesday 23 December 2009 02:58:13 am Adan wrote:
> Right now , I want to add it to the audit project to make it response to
> the event at the same time. What should I do?
You need to take this file:
https://fedorahosted.org/audit/browser/trunk/contrib/plugin/audisp-example.conf
Fill it out with the path to your executable and set active to yes.
Then install it to /etc/audisp/plugins.d/ and restart the audit daemon.
You should be able to do a "ps -ef" and see your plugin is running.
The location that your plugin installs to should probably be /sbin
and if your plugin needs a configuration file, it could be located
anywhere inside /etc. I generally choose /etc/audisp for SE Linux
reasons, but you can put it anywhere.
-Steve
prev parent reply other threads:[~2009-12-23 13:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 7:58 Add a plugin Adan
2009-12-23 13:33 ` Steve Grubb [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200912230833.50762.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.