linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Gabriel Alford <ralford@redhat.com>
Subject: Re: -F perm in audit rules
Date: Wed, 09 Sep 2020 14:03:12 -0400	[thread overview]
Message-ID: <4052904.ejJDZkT8p0@x2> (raw)
In-Reply-To: <CAOxyEpnvNQzBsweRmH5HTDuAY5umpoBQsLCLnEDOde7zkFZiVg@mail.gmail.com>

On Tuesday, September 8, 2020 7:02:01 PM EDT Gabriel Alford wrote:
> Hello,
> 
> By default, does auditd audit read, write, execute, and attribute in audit
> rules or do you need to specify
> -F perm=wxra ?
> 
> For example,
> 
> -a always,exit -F path=/usr/bin/at -F perm=wrxa
> 
> vs
> 
> -a always,exit -F path=/usr/bin/at

They are equivalent. Specifying -F perm= is so that you can fine tune what you 
want instead of everything.

-Steve


--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit


      reply	other threads:[~2020-09-09 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-08 23:02 -F perm in audit rules Gabriel Alford
2020-09-09 18:03 ` 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=4052904.ejJDZkT8p0@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=ralford@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).