All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burak Gürer" <burak4burak@msn.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit@redhat.com
Subject: auid=4294967295 issue
Date: Mon, 12 Jan 2015 12:12:02 +0200	[thread overview]
Message-ID: <54B39DF2.9020707@msn.com> (raw)
In-Reply-To: <2247361.QvknK8CF0u@x2>


[-- Attachment #1.1: Type: text/plain, Size: 1698 bytes --]

Hi Steve,

thanks for your assistance,

> For RHEL5, I know its enabled. But based on your questions above, you are
> asking 2 things. Where to put audit=1 and if pam_loginuid is right. For these,
>
> # cat /proc/cmdline
>
> and
>
> # cat /proc/self/loginuid
>
> would let you check. In the first, make sure audit=1 is there and in the second
> case, the output should be the uid under which you logged into the system.
>
> -Steve

    [root@test /root]# cat /proc/cmdline
    ro root=LABEL=/ audit=1 rhgb quiet

    [root@test /root]# cat /proc/self/loginuid
    0


To narrow the circle;

we have some linux servers and a central log collector system. we are 
sending audit logs to this log system. this log collector system can 
parse such logs but this system confused at lines with "auid=4294967295" 
in audit logs.

i have tried everything but still this lines are coming:

    type=USER_ACCT msg=audit(1420656001.965:2804): user pid=6083 uid=0
    auid=4294967295 msg='PAM: accounting acct="root" :
    exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'
    type=CRED_ACQ msg=audit(1420656001.966:2805): user pid=6083 uid=0
    auid=4294967295 msg='PAM: setcred acct="root" :
    exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'

and

    [root@test /root]# cat /etc/pam.d/crond
    #
    # The PAM configuration file for the cron daemon
    #
    #
    session    required     pam_loginuid.so
    auth       required     pam_unix.so
    auth       required     pam_nologin.so
    account    required     pam_unix.so
    password   required     pam_unix.so
    session    required     pam_unix.so

so is there any other hints or what can i do esle?

[-- Attachment #1.2: Type: text/html, Size: 2330 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2015-01-12 10:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 18:54 Is audit=1 still required for RHEL 7? Erinn Looney-Triggs
2015-01-06 19:13 ` Steve Grubb
2015-01-06 19:16   ` Erinn Looney-Triggs
2015-01-08 10:12     ` Burak Gürer
2015-01-08 13:03       ` Steve Grubb
2015-01-08 13:33         ` Burak Gürer
2015-01-08 14:13           ` Steve Grubb
2015-01-12 10:12             ` Burak Gürer [this message]
2015-01-12 14:54               ` auid=4294967295 issue Steve Grubb
2015-01-08 16:39         ` Audit rotate David Flatley
2015-01-08 16:46           ` Steve Grubb
2015-01-08 17:17             ` David Flatley
2015-01-08 17:23               ` Steve Grubb
2015-01-08 17:47                 ` David Flatley

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=54B39DF2.9020707@msn.com \
    --to=burak4burak@msn.com \
    --cc=linux-audit@redhat.com \
    --cc=sgrubb@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 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.