* Add a plugin
@ 2009-12-23 7:58 Adan
2009-12-23 13:33 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Adan @ 2009-12-23 7:58 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 706 bytes --]
Hello everyone,
I want to add a plugin.
I now konw how to debug with the command
* ausearch --start today --raw > test.log.
*
* Then you can test this app by: cat test.log | ./audisp-example
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?
I really need your help,since I donot know how it pass a record to the plugin.
------------------
祝
身体健康,工作愉快!
陈洁丹
-----------------------------
陈洁丹 北京邮电大学软件学院
地 址: 北京邮电大学学二D12寝室
邮 编: 100876
Email: buptsse@qq.com
---------------------------------
[-- Attachment #1.2: Type: text/html, Size: 2233 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add a plugin
2009-12-23 7:58 Add a plugin Adan
@ 2009-12-23 13:33 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2009-12-23 13:33 UTC (permalink / raw)
To: linux-audit
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-23 13:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 7:58 Add a plugin Adan
2009-12-23 13:33 ` Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).