From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a905c92d92a9e9b0 X-Google-Attributes: gidfee84,public From: MGM Subject: Re: How to time out idle users Date: 1995/05/18 Message-ID: <3pg4vj$bqe@stc06.ctd.ornl.gov>#1/1 X-Deja-AN: 102838723 references: <3pef2s$pib@ctsc.hkbc.hk> to: top@ccrs.emr.ca,s11976@ctsc.hkbc.hk content-type: text/plain; charset=us-ascii organization: A.S.U. x-url: news:top.41.2FBB4338@ccrs.emr.ca mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V2.1 alpha) top@ccrs.emr.ca (Andrew Top) wrote: >In article <3pef2s$pib@ctsc.hkbc.hk> s11976@ctsc.hkbc.hk (PM Wong) writes: >>Subject: How to time out idle users >>From: s11976@ctsc.hkbc.hk (PM Wong) >>Date: 18 May 1995 11:31:40 +0800 > >>Is there any built in utility under OSF/1 that logout users who >>are idle for so-and-so minutes or I have to write my little script > > I suggest using the tcsh which can be found on the freeware >disc. There is a built in function in the environment which will >kill an idle process. I think all you do is set the environment >variable AUTOLOGOUT to the number of minutes you want to go by >before logging out (ie. setenv AUTOLOGOUT 30). I haven't tried >this yet so let me know how it goes. > > Andrew Top top@ccrs.emr.ca It work fine. in your .tcshrc or .cshrc put setenv autologout 30 this will log you out after 30 min. Mostafa