Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: audit_tool Q
Date: Mon, 14 Apr 2003 09:02:09 +0200	[thread overview]
Message-ID: <3E9A5CF1.1010403@ev.co.yu> (raw)
In-Reply-To: c2b4ae48.0304110401.175df62@posting.google.com

dompie wrote:
> Hi,
> 
> I have the following entry in the audit_log:
> "
> audit_id:    0             ruid/euid:   0/0
> pid:         10076         ppid: 9956                 cttydev: (6,1)
> event:       open
> char param:  /unicenter/em/scripts/unifstat.awk
> flags:       0 : read
> parent ino:  1198
> inode id:    1224          inode dev:   (2659,253641) [regular file]
> object mode: 0555
> result:      3 (0x3)
> cpu, seq#:   0x0, 34774
> ip address:  175.175.16.152 (lebrun)
> timestamp:   Fri Apr 11 14:00:05.71 2003 CEST
> "
> 
> I there a way that I can know on what TTY this command has been
> launched?
> This way I can use the 'w' cmd with 'ps' to get person that logged on
> 'root' and typed that command.
> (what's does the cttydev field mean?)

The AuditID is an ID assigned to every individual login of a user. If you have 
two separate users logged in as "root" (UID: 0), they will still be assigned 
DIFFERENT AUIDs. So, use that AUID (0 in this case) to track down the login 
event, which will give you the IP address of the client.

Nix.



      reply	other threads:[~2003-04-14  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11 12:47 audit_tool Q dompie
2003-04-14  7:02 ` Nikola Milutinovic [this message]
read-only archive

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