* issue with file watches on Suse 10.1 using latest 2.6.18-rc4 and audit 1.2.3
@ 2006-08-09 22:08 Rick Warner
2006-08-10 15:04 ` Timothy R. Chavez
0 siblings, 1 reply; 3+ messages in thread
From: Rick Warner @ 2006-08-09 22:08 UTC (permalink / raw)
To: linux-audit
Hello all,
I am trying to set up file watches for files such as /etc/passwd
and /etc/shadow. I am using Suse 10.1. I have updated the kernel to a
kernel.org 2.6.18-rc4 kernel, and have updated the audit userspace tools to
version 1.2.3. I can add filesystem watches with "auditctl -w /etc/passwd"
successfully now. Entries in the audit.log are created.
The first problem is that when I use "aureport -w", it tells me "<no events of
interest were found>". Using "aureport -f" instead, it shows entries
for /etc/passwd, but the auid column for all results is -1 (or "unset" if
using the -i option to aureport). Looking at the audit logfile,
auid=4294967295 which then correlates to -1 when used as a signed vs unsigned
int.
How can I fix this?
--
Richard Warner
Lead Systems Integrator
Microway, Inc
(508)732-5517
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issue with file watches on Suse 10.1 using latest 2.6.18-rc4 and audit 1.2.3
2006-08-09 22:08 issue with file watches on Suse 10.1 using latest 2.6.18-rc4 and audit 1.2.3 Rick Warner
@ 2006-08-10 15:04 ` Timothy R. Chavez
2006-08-10 15:40 ` Amy Griffis
0 siblings, 1 reply; 3+ messages in thread
From: Timothy R. Chavez @ 2006-08-10 15:04 UTC (permalink / raw)
To: Rick Warner; +Cc: linux-audit
On Wed, 2006-08-09 at 18:08 -0400, Rick Warner wrote:
> Hello all,
>
> I am trying to set up file watches for files such as /etc/passwd
> and /etc/shadow. I am using Suse 10.1. I have updated the kernel to a
> kernel.org 2.6.18-rc4 kernel, and have updated the audit userspace tools to
> version 1.2.3. I can add filesystem watches with "auditctl -w /etc/passwd"
> successfully now. Entries in the audit.log are created.
>
> The first problem is that when I use "aureport -w", it tells me "<no events of
> interest were found>". Using "aureport -f" instead, it shows entries
> for /etc/passwd, but the auid column for all results is -1 (or "unset" if
> using the -i option to aureport). Looking at the audit logfile,
> auid=4294967295 which then correlates to -1 when used as a signed vs unsigned
> int.
>
> How can I fix this?
>
Rick,
I believe a special PAM package is used to capture the login uid (auid).
I'm guessing that's where your problem lies.
-tim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issue with file watches on Suse 10.1 using latest 2.6.18-rc4 and audit 1.2.3
2006-08-10 15:04 ` Timothy R. Chavez
@ 2006-08-10 15:40 ` Amy Griffis
0 siblings, 0 replies; 3+ messages in thread
From: Amy Griffis @ 2006-08-10 15:40 UTC (permalink / raw)
To: Timothy R. Chavez; +Cc: linux-audit
Timothy R. Chavez wrote: [Thu Aug 10 2006, 11:04:29AM EDT]
> On Wed, 2006-08-09 at 18:08 -0400, Rick Warner wrote:
> > Hello all,
> >
> > I am trying to set up file watches for files such as /etc/passwd
> > and /etc/shadow. I am using Suse 10.1. I have updated the kernel to a
> > kernel.org 2.6.18-rc4 kernel, and have updated the audit userspace tools to
> > version 1.2.3. I can add filesystem watches with "auditctl -w /etc/passwd"
> > successfully now. Entries in the audit.log are created.
> >
> > The first problem is that when I use "aureport -w", it tells me "<no events of
> > interest were found>". Using "aureport -f" instead, it shows entries
> > for /etc/passwd, but the auid column for all results is -1 (or "unset" if
> > using the -i option to aureport). Looking at the audit logfile,
> > auid=4294967295 which then correlates to -1 when used as a signed vs unsigned
> > int.
> >
> > How can I fix this?
> >
>
> Rick,
>
> I believe a special PAM package is used to capture the login uid (auid).
> I'm guessing that's where your problem lies.
pam_loginuid(8) has some helpful info.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-10 15:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09 22:08 issue with file watches on Suse 10.1 using latest 2.6.18-rc4 and audit 1.2.3 Rick Warner
2006-08-10 15:04 ` Timothy R. Chavez
2006-08-10 15:40 ` Amy Griffis
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.