Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!hp4nl!botter!vulet!hans From: hans@let.vu.nl (Hans Varkevisser) Newsgroups: comp.unix.questions Subject: Re: Autologout in 4.3 Summary: autologout in BSD 4.3 Message-ID: <562@vulet.let.vu.nl.UUCP> Date: 7 Apr 89 07:23:28 GMT References: <8904061546.AA07490@cunixa.cc.columbia.edu> Organization: V.U. Letteren, Amsterdam, the Netherlands Lines: 21 In article <8904061546.AA07490@cunixa.cc.columbia.edu>, igb@CUNIXA.CC.COLUMBIA.EDU (Isidore G Bendrihem) writes: > Has anybody implemented an "autologout" feature to csh in 4.3bsd (vax 750)? > By this I mean when a user is idle for x minutes, its login shell will > terminate automatically. > Thanks. > I have changed the program w to a new programm autologout. The programm does kill loginshells that are idle for a given time. It uses the HANGUP signal, it also kills a loginshell with more running processes when the elapsed time is > 120 min. or for save use > 240 min. I use a VAR to check the user-number, a user-number < 20 won't be killed . It is a beta version but I use it for six month without problems. The only problem is that the programm w is copyrighted (I think). But let me know if you want it. -- Organisation: Free University, Faculty of Literature Amsterdam, the Netherlands Name: Hans Varkevisser (system administrator) hans@let.vu.nl or let.vu.nl!hans UUCP