public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: Linux Audit <linux-audit@redhat.com>
Subject: Re: How to confirm AUDITD is immutable
Date: Wed, 14 Oct 2020 14:44:50 -0400	[thread overview]
Message-ID: <5564867.MhkbZ0Pkbq@x2> (raw)
In-Reply-To: <CAJdJdQmPhUY0fSUp5eakf_up3nnGB1_4FLHexLvtbkCuEo-e2g@mail.gmail.com>

On Wednesday, October 14, 2020 2:30:48 PM EDT warron.french wrote:
> Hello, I just wanted to confirm for my memory that if I wanted to confirm
> that the auditd process running on my system was configured correctly and
> intended to be
> *immutable (*setting *-e 2*) I would do so easily by executing:
> 
> *auditctl -s*
> 
> When I execute that command I get back in the results that have:
> *enabled 1*
> *loginuid_immutable 0 unlocked*
> *among a few other lines.*
> 
> Shouldn't I actually see *enabled 2*?

That's what I get.

# auditctl -s
enabled 2


> I have in one of our .rules files under /etc/audit/rules.d/ the syntax
> "-e 2".

I'd copy 99-finalize.rules to rules.d and uncomment the only rule in the file. 
It has to be last. Although I have no idea why what you have isn't working 
unless its not getting picked up by augenrules.

-Steve


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


      reply	other threads:[~2020-10-14 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 18:30 How to confirm AUDITD is immutable warron.french
2020-10-14 18:44 ` 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=5564867.MhkbZ0Pkbq@x2 \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox