From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: year value for ausearch? Date: Fri, 30 Apr 2010 10:24:32 -0400 Message-ID: <201004301024.32901.sgrubb@redhat.com> References: <1272519566.12625.259.camel@lcb> <1272567002.8625.36.camel@lcb> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1272567002.8625.36.camel@lcb> 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 29 April 2010 02:50:02 pm LC Bruzenak wrote: > On Thu, 2010-04-29 at 00:39 -0500, LC Bruzenak wrote: > > Just got word back from a non-US fielded system that the ausearch -ts > > DAY/MONTH/YEAR doesn't work, e.g. : > > % ausearch -ts 04/29/2010 > > says that the year value is invalid > > > > but > > % ausearch -ts 04/29/10 works. > > > > Something with locale? It's F10 audit. Yes, exactly. > Sorry I meant MONTH/DAY/YEAR as in the example. > > Looking at the code it appears to use the locale's format, so it is > likely I will need to change the ausearch input to match.?. Yes. It should be documented in the --start --end portion of the man page. What the exact format is for the locale you are in is not covered. -Steve