tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Harold Gabel <Harold.Gabel () mci ! com>
To: tru64-unix-managers
Subject: SUMMARY:  Big Brother w/ files
Date: Tue, 15 Jun 1999 21:24:56 +0000	[thread overview]
Message-ID: <96079044115746.tru64-unix-managers.marc@archive.invalid> (raw)

My original question was "how do I see who wrote a file last, not just
when."

Thanks to:
lrs@zk3.dec.com
Alan Davis
Allen Carpenter
Kurt Carlson

I take my hat off to lrs@zk3.dec.com for pointing out my error:  audit in
fact logs whether a file is opened read only, or read-write.  This solved my
problem as the ruid and euid are logged (see below).

Harold Gabel
MCI WorldCom Systems Administrator



----snip----
lrs@zk3.dec.com wrote:

The open audit record includes information on the open "mode" - read, 
write, trunc, creat, sync, excl, append, ....


    audit_id:    1124          ruid/euid:   1124/1124
    pid:         4278          ppid: 4273                 cttydev: (6,2)
    event:       open
    char param:  /etc/motd
    flags:       1537 : write trunc creat
    inode id:    7990          inode dev:   (19,81)       [regular file]
    object mode: 0644          
    req mode:    0600
    result:      3 (0x3)
    ip address:  
    timestamp:   Tue Jun 15 11:32:36.95 1999 EDT


    1124:1124:1124    4278   0x3                open ( /etc/motd 0x601 0600
)

                 reply	other threads:[~1999-06-15 21:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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