year value for ausearch?
Steve Grubb
sgrubb at redhat.com
Fri Apr 30 14:24:32 UTC 2010
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
More information about the Linux-audit
mailing list