Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site wdl1.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!tektronix!hplabs!hpda!fortune!wdl1!kimery From: kimery@wdl1.UUCP (Sam Kimery) Newsgroups: net.unix-wizards Subject: Re: Idle time logout mechanism (daemon) Message-ID: <529@wdl1.UUCP> Date: Thu, 25-Jul-85 11:53:51 EDT Article-I.D.: wdl1.529 Posted: Thu Jul 25 11:53:51 1985 Date-Received: Mon, 29-Jul-85 07:24:46 EDT References: <11650@brl-tgr.ARPA> <3007@nsc.UUCP> <130@daisy.warwick.UUCP> Organization: Ford Aerospace, Western Development Laboratories Lines: 26 > > > The talk of daemons makes me worry - on our system you cannot tell from the > modify time of the terminal whether a line is idle or not. While people > are sitting in our favourite screen editor, they show up as idle to `w' and > such how ever busily they are typing - one of those daemons are our machine > would embarrass a lot of people! Does no one else have this feature ? I > believe it is a feature of `cbreak', although I have not spent the time > rummaging through the teletype driver to investigate. > > (We're running 4.2bsd on a VAX780) > It is fairly simple to make the mods to both csh and sh to include and optional autologout feature (That could be installed as new accounts are added and owned by root to make it harder to remove.) The length of time can be set externally. This involves about 5 - 10 lines of code, and is much cleaner than a daemon. (but is contrary to the normal Un*x philosophy) This will also NOT log you out if you are not in the parent shell. (Of course this relies on how you program it). This means that you won't be knocked out of an editor, etc.) The way we are running we use the variable ILOG, set in the .cshrc files. (IE setenv ILOG 30, gives 30 minutes of idle time before autologout) Sam Kimery kimery@FORD-WDL1