Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: AUDIT(B) - USER add, delete, modify, suspend and lock
Date: Fri, 14 Jul 2017 16:56:06 -0400	[thread overview]
Message-ID: <4389313.SMzMEvUi0t@x2> (raw)
In-Reply-To: <CAJdJdQn+R4Ce+54dSGH-tDXDu-Abc1cy9-U9fQakLjUPoAa-Bg@mail.gmail.com>

On Friday, July 14, 2017 4:48:11 PM EDT warron.french wrote:
> Similar idea to the prior email:
> 
> I need to monitor local user account
> 
> 
> *creation, modification, deletion, suspension and locking.*

These events are all hardwired too. The events that you are looking for are 
part of this specification:

https://github.com/linux-audit/audit-documentation/wiki/SPEC-User-Account-Lifecycle-Events

As long as audit is enabled, you will get the events.

-Steve

> I know that I can monitor: */etc/passwd, /etc/group, /etc/shadow* and
> */etc/gshadow*, but how do I monitor who modified wfrench inside
> /etc/passwd?
> 
> Is:
> 
> 
> *-w /etc/passwd  -k monitor_account_manipulations*
> Good enough?
> 
> --------------------------
> Warron French

  reply	other threads:[~2017-07-14 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 20:48 AUDIT(B) - USER add, delete, modify, suspend and lock warron.french
2017-07-14 20:56 ` Steve Grubb [this message]
2017-07-14 21:20   ` warron.french

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=4389313.SMzMEvUi0t@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