On Mon, 21 Jun 2004 Animesh Singh wrote :
Afternoon Vaibhav= ,
I need to run a script everytime there is a SS= H
logout of user
root.<= = BR>
<snip>
Write a daemon to monitor /var/log/= secure. or utmp
data. Please do not rely on any tool which use ut= mp as
source data, as it depends on tool, how it counts
= ;entries in utmp.
<snip>
/var/log/secure is= good.
But I do not have /var/log/utmp.
Instead I have /var/lo= g/wtmp, which seems binary (not clear text).
How to read wtmp file, a= nd is this the file u are refering to as utmp, or should I look somewhere e= lse.
Thx.
Vai
[1] [3D"http=]
References