From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2c624f7546cfba9a X-Google-Attributes: gidfee84,public From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy) Subject: Re: logging out users automatically Date: 1995/08/09 Message-ID: <409k0u$63i@vertex.tor.hookup.net>#1/1 X-Deja-AN: 107754506 references: <8AUG199520320885@efvx1.dofn.de> organization: HookUp Communication Corporation, Oakville, Ontario, CANADA nntp-posting-user: mskucher newsgroups: comp.unix.osf.osf1 In article <8AUG199520320885@efvx1.dofn.de>, Tomas Koenig, Nortel Dasa Network Systems, Abt. VIC34 wrote: >I'm looking for a tool under OSF/1 which is logging out inactive >users automatically if some specified rules apply. Under VMS there >was WATCHER a shareware program which did exactly what I want. > >Do you know any similar thing to OSF/1 ? I wrote something to do this. The only criteria available are idle time and their group, though. You can have it log someone off who's been idle for a certain amount of time, and print warnings on the screens of people who have been idle for a smaller amount of time (e.g. log out after an hour of idle, warn after 45 minutes). It works on OSF/1 only. I could make it work on SCO UNIX too and any other UNIX with a pid_t field in the utmp structure as well; in fact, the source should be trivially portable. BSD/OS is the only UNIX to which I have access that doesn't have the required field. Let me know if you want it. -- Murray S. Kucherawy ========================================================== Software Manager HookUp Communication Corporation - Ontario, CANADA E-mail: mskucher@hookup.net NIC Handle "MSK" (905) 847-8000 -- We are Intel of Borg. Division is futile. You will be approximated. --