tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Big Brother w/ files
@ 1999-06-15 21:24 Harold Gabel
  0 siblings, 0 replies; only message in thread
From: Harold Gabel @ 1999-06-15 21:24 UTC (permalink / raw)
  To: tru64-unix-managers

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
)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-15 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-15 21:24 SUMMARY: Big Brother w/ files Harold Gabel

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