public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* problem in adding rule on the file having spaces in the name
@ 2008-02-15 15:29 Abhishek Gupta
  2008-02-15 16:13 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Abhishek Gupta @ 2008-02-15 15:29 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 280 bytes --]

I want to add a rule in audit.rules file to watch a file named "jsp doc".
Note there is space between jsp and doc.
How to write the rule for that in the rule file?
Please suggest.
I tried writing the rule in the file as
-w /jsp\ doc/ -p rw
also
-w /jsp doc -p rw
Both gives error

[-- Attachment #1.2: Type: text/html, Size: 321 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem in adding rule on the file having spaces in the name
  2008-02-15 15:29 problem in adding rule on the file having spaces in the name Abhishek Gupta
@ 2008-02-15 16:13 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2008-02-15 16:13 UTC (permalink / raw)
  To: linux-audit; +Cc: Abhishek Gupta

On Friday 15 February 2008 10:29:16 Abhishek Gupta wrote:
> I want to add a rule in audit.rules file to watch a file named "jsp doc".
> Note there is space between jsp and doc.
> How to write the rule for that in the rule file?

As a temporary work around, you could put something in /etc/rc.local adding 
the watch. Please file a bug in bugzilla so that this is addressed. 
https://bugzilla.redhat.com

Thanks,
-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-15 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15 15:29 problem in adding rule on the file having spaces in the name Abhishek Gupta
2008-02-15 16:13 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox