From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Filter Date: Wed, 4 Aug 2010 09:31:06 -0400 Message-ID: <201008040931.06195.sgrubb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 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