I just tried idled, but cannot get it to work.  It logs an error
which says "unable to read utmp file".  I can look at the utmp file
just fine (although it has some non-ASCII characters in it.)  By
checking the source code, I determined that it is failing after
executing the following command:

        res != sizeof (struct, utmp)

I'm no C++ guru, but this statement seems to evaluate for TRUE
whenever the structure of the file is wrong (the data element is the
srong size?), then this triggers the error message & aborts the
program.

Has the structure of the utmp file changed with the last release of
Red Hat?




On Sat, 4 Apr 1998 17:10:26 -0800 (PST), [EMAIL PROTECTED] wrote:

>I use idled.  works pretty well for me.  I think it is in the contrib.
>
>On Sat, 4 Apr 1998, Casey Bralla wrote:
>
>> I need a program which will automatically logout a user who has not
>> had any activity for x minutes.  I envision a sniffer-type program
>> which records any data passing across tty's & ttyS's, then logs off
>> the account on that device when it is inactive for a specific period
>> of time.
>> 
>> Does anybody know of such a program?

J R Casey Bralla
[EMAIL PROTECTED]

Chief Nerd in Residence
NerdWorld
Cheraw, SC USA

(803) 537-8822  Voice
(803) 537-8465  Fax

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBNAzRI6PQAAAECAKYJg7f6xX/rkB5mD1az4ZG41ageGs6nR2rcCQ7NDdc0+3Io
MCXp2YKKGtzL8M5rtsGotPHPvWn5vyPLXdfA9X0ABRG0OEogUiBDYXNleSBCcmFs
bGEgPFZvcmxvbkBwZG4ubmV0PiBvciA8U3RvY2tWaWV3QHBkbi5uZXQ+
=N8/5
-----END PGP PUBLIC KEY BLOCK-----




... "Get the facts first.  Then you can distort them as much as you please!"


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to