From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: key options with spaces Date: Wed, 19 Jun 2013 08:34:50 -0400 Message-ID: <4529600.ghj3OvlKAr@x2> References: <51B790F6.7090306@magitekltd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51B790F6.7090306@magitekltd.com> 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 Tuesday, June 11, 2013 04:04:54 PM LC Bruzenak wrote: > I was playing with audit rules using keys with spaces. > Is the following expected (ignore the logic; was just testing the returns)? > > # auditctl -l -k lsmod > LIST_RULES: exit,always watch=/sbin/lsmod perm=x key=lsmod kernel > LIST_RULES: exit,always watch=/bin/ping perm=x key=lsmod ping What are you expecting? I can make it not accept keys with spaces. I don't think putting spaces in keys is a good idea. -Steve