From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: auditctl usage for filter lists: "user" , "watch" and "exclude"
Date: Thu, 18 May 2006 11:50:56 -0400 [thread overview]
Message-ID: <200605181150.56809.sgrubb@redhat.com> (raw)
In-Reply-To: <446C8915.20606@us.ibm.com>
On Thursday 18 May 2006 10:47, Michael C Thompson wrote:
> but I have very little idea f how user is meant to be used, and none about
> watch.
First, watch doesn't exist. I deleted it from the man pages yesterday.
User is used to filter userspace originating audit messages. For example, you
can use passwd and a message can be generated saying that a users password
has been changed. You can filter those events so that they do not hit the
audit logs.
auditctl -a user,always -F uid=500
> For the exclude list,
>
> exclude,always -F msgtype=SYSCALL
>
> seems to be the only valid structure, where msgtype can be any value
> (XXX) for the type in the audit.log? (where the 1st field in the audit
> log is type=XXX)
Yes. But note that you can also do things like this:
-a exclude,always -F 'msgtype>=DAEMON_START' -F 'msgtype<=DAEMON_ROTATE'
to take out a whole range of message types.
> Are there more filters that apply? (and does it have any meaning without
> a filter?)
No
-Steve
prev parent reply other threads:[~2006-05-18 15:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 14:47 auditctl usage for filter lists: "user" , "watch" and "exclude" Michael C Thompson
2006-05-18 14:59 ` Michael C Thompson
2006-05-18 15:41 ` Michael C Thompson
2006-05-18 15:58 ` Steve Grubb
2006-05-18 16:04 ` Michael C Thompson
2006-05-18 16:16 ` Steve Grubb
2006-05-18 19:01 ` Michael C Thompson
2006-05-18 19:29 ` Steve Grubb
2006-05-18 15:55 ` Steve Grubb
2006-05-18 15:58 ` Michael C Thompson
2006-05-18 16:13 ` Steve Grubb
2006-05-18 15:50 ` Steve Grubb [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200605181150.56809.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.