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

Re: Pull timestamp from audit event



On Thursday 22 March 2007 14:41, Kirkwood, David A. wrote:
> How can I pull the timestamp from a particular audit event.

Which audit package? For current, there is the auparse library for C and 
python.

> For example: 
> I want to pull all /bin/su events from the audit log for the week with
> when they occurred. How can I do this?

If you want to do this by shell scripting, you can do this:

aureport --start this-week --end now -i --file | grep \/bin\/su

-Steve


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