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

ausearch and terminal



Hi,

I observe a very strange behavior of the ausearch utility.
audit-1.7.7-6.el5_3.3

# cat /root/bin/autest.sh  
/sbin/ausearch -m avc| wc -l

If I run it, I get expected results:

# /root/bin/autest.sh 
1563

But if I run it from cron, I get this in e-mail:

<no matches>
0

Why??

Sincerely yours,
  Vadym Chepkov


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