From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Filter
Date: Wed, 4 Aug 2010 09:31:06 -0400 [thread overview]
Message-ID: <201008040931.06195.sgrubb@redhat.com> (raw)
In-Reply-To: <AANLkTikMQ0LpjmZMOqNc2cGhSOLBMjofhHVit4O-5r64@mail.gmail.com>
On Wednesday, August 04, 2010 06:25:59 am List Quest wrote:
> I need filter logs to terminal name(if tty/terminal equal none, write to
> audit.log).
>
> Example: -a entry,always -S execve -F tty!=none
>
> But, no use tty in filter parameter list. How this?
The kernel does not filter on tty because it is a text string and not a number.
So, all events would get recorded. you would then run a search against the
logs to find the records you want.
That's the way it is unless someone submits patches. ;)
-Steve
prev parent reply other threads:[~2010-08-04 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 10:25 Filter List Quest
2010-08-04 13:31 ` Steve Grubb [this message]
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=201008040931.06195.sgrubb@redhat.com \
--to=sgrubb@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).