public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Laurent Bigonville <bigon@debian.org>
To: linux-audit@redhat.com
Subject: audit.rules file [Was: audit 2.3 released]
Date: Sun, 5 May 2013 11:43:57 +0200	[thread overview]
Message-ID: <20130505114357.7790a544@fornost.bigon.be> (raw)
In-Reply-To: <3021693.HLtnhthvcE@x2>

Le Wed, 01 May 2013 10:29:07 -0400,
Steve Grubb <sgrubb@redhat.com> a écrit :

> Hi,
Hello,

[...]
> 
> Several people have asked for a way to deposit rules into a directory
> so that based on what is installed, rules can also be added. This
> makes it easier to have a core system that gets packages, config, and
> files added to make it a different kind of server or desktop. My
> guess is that it will be mostly used to add watches on setuid apps
> which can differ from machine type to machine type.
> 
> The place where these rules are stored is /etc/audit/rules.d.
> Compiling rules from that directory will result in a new file being
> written to /etc/audit/audit.rules. That means it can overwrite
> existing rules. Since we don't want that to happen by accident,
> augenrules is disabled by default.
[...]

The make install rule is now installing audit.rules in
the /etc/audit/rules.d directory.

What would happen on fresh installation if augenrules call is disabled
and that /etc/audit/audit.rules is not existing?

Will /etc/audit/rules.d/audit.rules be called as a fallback? Or should
distributions take care of shipping both /etc/audit/audit.rules
and /etc/audit/rules.d/audit.rules?

What do you think?

Cheers

Laurent Bigonville

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

  parent reply	other threads:[~2013-05-05  9:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 14:29 audit 2.3 released Steve Grubb
2013-05-01 19:05 ` explanation/translation of auditd exit codes Vaughn, Chad M
2013-05-01 19:15   ` Peter Moody
2013-05-01 20:45     ` Eric Paris
2013-05-01 20:52       ` Vaughn, Chad M
2013-05-01 20:16   ` Smith, Gary R
2013-05-05  9:43 ` Laurent Bigonville [this message]
2013-05-05 13:32   ` audit.rules file [Was: audit 2.3 released] Burn Alting
2013-05-06 13:17   ` Steve Grubb
2013-05-06 14:02     ` Laurent Bigonville

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=20130505114357.7790a544@fornost.bigon.be \
    --to=bigon@debian.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox