Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* auid field when switching user
@ 2015-05-06 14:39 Guillaume L.
  2015-05-06 14:56 ` Steve Grubb
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume L. @ 2015-05-06 14:39 UTC (permalink / raw)
  To: linux-audit


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

Bonjour,

I'm trying to use auditd to log all actions made by the users on the
system. This part works fine.

The documentation mention the "auid" field to identify the user from the
first connection "even" when the user's identity changes (like with a su):

auid=500
The auid field records the Audit user ID, that is the loginuid. This ID is
assigned to a user upon login and is inherited by every process even when
the user's identity changes (for example, by switching user accounts with
the su - john command).

But this is not working. If I log with the user "test" (uid 1000) when I
switch to the user root, the value of auid is 0 (the uid of root).

Did I missing something ?

Thank you in advance.

Regards,

--
Guillaume

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

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-07  9:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 14:39 auid field when switching user Guillaume L.
2015-05-06 14:56 ` Steve Grubb
2015-05-06 22:13   ` Burn Alting
2015-05-07  9:02     ` Guillaume L.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox