* Aureport and Cron
@ 2008-05-08 20:00 Mathis, Jim
2008-05-08 20:13 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Mathis, Jim @ 2008-05-08 20:00 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 923 bytes --]
Hello,
OS: RH ES 5.1
Kernel: 2.6.X
When I run aureport from the command line it works properly. When I run
the same command via a cron job aureport runs without error but the info
within report is not correct. The problem when running via cron is that
the range time in logs is incorrect. As follows:
Range of time in logs: 12/31/69 19:00:00.000 - 12/31/69 19:00:00.000
Selected time for report: 05/06/08 00:00:01 - 05/06/08 12:42:01
Now notice the range time in logs when the same aureport command is ran
from the command line. As follows:
Range of time in logs: 05/02/2008 06:40:01.347 - 05/06/2008 11:31:42.642
Selected time for report: 05/02/2008 06:40:01 - 05/06/2008 11:31:42.642
So the question is why is aureport using a log time of 12/31/69 via cron
vice 05/XX/08 as per the command line. Thanks.
P.S. aureport -t indictaes proper log times for the audit.logs within
/var/logs/audit
-Jim
[-- Attachment #1.2: Type: text/html, Size: 2295 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Aureport and Cron
2008-05-08 20:00 Aureport and Cron Mathis, Jim
@ 2008-05-08 20:13 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2008-05-08 20:13 UTC (permalink / raw)
To: linux-audit
On Thursday 08 May 2008 16:00:35 Mathis, Jim wrote:
> So the question is why is aureport using a log time of 12/31/69 via cron
> vice 05/XX/08 as per the command line. Thanks.
Just so I can make sure I recreate the problem, what is your command line
options for aureport?
-Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-08 20:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 20:00 Aureport and Cron Mathis, Jim
2008-05-08 20:13 ` Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox