Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 12:50:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 185034] audit(8): audit -s do not sync audit_user
Message-ID:  <bug-185034-8-Knfazk2N7L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-185034-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-185034-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185034

Christian Brueffer <brueffer@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
                 CC|                            |brueffer@FreeBSD.org
             Status|In Progress                 |Closed
           Assignee|freebsd-bugs@FreeBSD.org    |brueffer@FreeBSD.org

--- Comment #1 from Christian Brueffer <brueffer@FreeBSD.org> ---
Hi Radim, the information which flags to audit for a user are not managed by
auditd, hence loading the file during "audit -s" would be useless.

The audit_user file is only read when a user logs in and consequently a new
audit context for that login session is created (e.g., see
usr.bin/login/login_audit.c).  In that case the user's entry is read from
audit_user, and combined with the "always audit" flags specified in the flags
parameter in /etc/audit_control into the user's audit mask.  This mask is part
of the audit context inherited by every process forked from that initial login
process.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-185034-8-Knfazk2N7L>