From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: "Pittigher, Raymond - CS" <Raymond.Pittigher@itt.com>
Subject: Re: ausearch
Date: Sat, 17 Oct 2009 12:05:49 -0400 [thread overview]
Message-ID: <200910171205.49922.sgrubb@redhat.com> (raw)
In-Reply-To: <04F7A41038AF32428FFDDACD8E68B7070E9FB2D45A@ACDSSDMAILSRV01.acd.de.ittind.com>
On Friday 16 October 2009 06:25:42 pm Pittigher, Raymond - CS wrote:
> I see that the -w or --word switch was added to the ausearch but how it it
> used?
It is used in addition to other matching. If you were to try this search:
ausearch --start today -f va
it will match any file that has va anywhere in it - for example /var/run would
match. But if you change it to this:
ausearch --start today -f va -w
now, /var/run would no longer match. It would insist on the whole file path to
be va.
> But I have been trying
>
> ausearch -w failed and variation of that but only get the message
You would just use "ausearch -sv no" to find failed records. Some search
options do not do partial matches. The -w option does not take an argument.
-Steve
next prev parent reply other threads:[~2009-10-17 16:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <04F7A41038AF32428FFDDACD8E68B7070E9FB2D3F3@ACDSSDMAILSRV01.acd.de.ittind.com>
2009-10-16 22:25 ` ausearch Pittigher, Raymond - CS
2009-10-17 16:05 ` Steve Grubb [this message]
2010-11-02 12:58 ` file size Ray Pittigher
2013-05-16 12:52 ausearch David Flatley
2013-05-16 13:13 ` ausearch Steve Grubb
-- strict thread matches above, loose matches on Subject: below --
2014-01-03 13:58 ausearch David Flatley
2014-01-03 14:05 ` ausearch LC Bruzenak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910171205.49922.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=Raymond.Pittigher@itt.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.