From: Steve Grubb <sgrubb@redhat.com>
To: "linux-audit@redhat.com" <linux-audit@redhat.com>,
Rakesh Kumar <rakesh_kumar2554@yahoo.com>
Subject: Re: auditd not logging proper log.
Date: Thu, 29 Jul 2021 12:18:53 -0400 [thread overview]
Message-ID: <2108221.irdbgypaU6@x2> (raw)
In-Reply-To: <293734062.1021895.1627546756090@mail.yahoo.com>
On Thursday, July 29, 2021 4:19:16 AM EDT Rakesh Kumar wrote:
> I did not get you, in kernel auditd is enabled like kauditd is running then
> what exactly we have to do changes in my system to get full login n log
> out info in audit. Log file.
Logging in/out is done in 2 places. First, pam records what it knows. But the
entry point daemon is also supposed to send USER_LOGIN and USER_LOGOUT
events.
Complete information is here:
https://github.com/linux-audit/audit-documentation/wiki/SPEC-User-Login-Lifecycle-Events
Gdm, Kdm, and sshd all have been updated to record these events. All that is
needed is to configure --with-audit during the package build. By now, I would
expect all distros to do that.
-Steve
> On Sat, Jul 10, 2021 at 19:57, Steve Grubb<sgrubb@redhat.com> wrote: On
Saturday, July 10, 2021 2:28:55 AM EDT Rakesh Kumar wrote:
> > 1)I am trying to run the auditd (start/stop) without root user as normal
> > user , how to achieve this on linux.?
>
> For security reasons, this is not allowed.
>
> > 2)i am using kernel version 4.19.97 and i am not getting any
> > login/logout,
> > authentication fail/pass log data in audit.log file. DOes it need any
> > changes in the config or rules..
>
> This is hardwired into pam. The rules don't matter. I'd check that pam was
> compiled with audit support and that audit is enabled in the kernel.
>
> -Steve
--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit
next prev parent reply other threads:[~2021-07-29 16:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <94614270.1103019.1625898535256.ref@mail.yahoo.com>
[not found] ` <94614270.1103019.1625898535256@mail.yahoo.com>
2021-07-10 14:27 ` auditd not logging proper log Steve Grubb
[not found] ` <293734062.1021895.1627546756090@mail.yahoo.com>
2021-07-29 16:18 ` Steve Grubb [this message]
2021-08-07 4:47 ` Rakesh Kumar
2021-08-08 13:42 ` Steve Grubb
[not found] ` <758905872.811310.1628444880085@mail.yahoo.com>
2021-08-09 3:19 ` Steve Grubb
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=2108221.irdbgypaU6@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=rakesh_kumar2554@yahoo.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.