* Filter
@ 2010-08-04 10:25 List Quest
2010-08-04 13:31 ` Filter Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: List Quest @ 2010-08-04 10:25 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 216 bytes --]
Hi;
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?
Thank You
Best Regards
[-- Attachment #1.2: Type: text/html, Size: 248 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Filter
2010-08-04 10:25 Filter List Quest
@ 2010-08-04 13:31 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2010-08-04 13:31 UTC (permalink / raw)
To: linux-audit
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-04 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 10:25 Filter List Quest
2010-08-04 13:31 ` Filter Steve Grubb
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).