From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: cron and aureport Date: Mon, 24 Nov 2008 08:21:00 -0500 Message-ID: <200811240821.00581.sgrubb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thursday 20 November 2008 13:10:23 Phillip Programmer wrote: > We are running into a strange issue when we run reports inside of a script > as root everything works fine. When we point the root crontab at the same > script it no longer returns any results. You need to use the --input-logs option. If ausearch sees stdin as a pipe, it assumes that is where it gets its data from. The input logs option tells it to ignore the fact that stdin is a pipe and process the logs. Aureport has the same problem and option to fix it. > We are running RHEL5.1 x64 if that matters. This was fixed in the 1.6.7 general release and backported to the 1.6.5 RHEL5 release. -Steve