Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* auditctl: how do I remove a watch?
@ 2010-11-08 17:27 Michael Convey
  2010-11-08 21:20 ` Steve Grubb
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Convey @ 2010-11-08 17:27 UTC (permalink / raw)
  To: linux-audit


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

Per the man page, to remove a watch, do the following:

 -W path
              Remove a watch for the file system object at path.


However, I get the following:

# auditctl -l
LIST_RULES: exit,always watch=/etc/hosts perm=rwa key=hosts-file
LIST_RULES: exit,always watch=/etc/resolv.conf perm=wa key=resolv
# auditctl -W /etc/hosts
Error sending delete rule data request (No such file or directory)


What am I doing wrong?

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

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



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

end of thread, other threads:[~2010-11-09  2:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 17:27 auditctl: how do I remove a watch? Michael Convey
2010-11-08 21:20 ` Steve Grubb
2010-11-08 21:50   ` Michael Convey
2010-11-09  1:39   ` Mike Nixon
2010-11-09  2:27     ` Steve Grubb

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