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: cs11kgm@rigel.syscon.com Subject: Re: How to time out idle users Date: 1995/05/19 Message-ID: <1995May19.135751.1@rigel>#1/1 X-Deja-AN: 102952161 references: <3pef2s$pib@ctsc.hkbc.hk> <3pg4vj$bqe@stc06.ctd.ornl.gov> organization: SYSCON Corporation newsgroups: comp.unix.osf.osf1 nntp-posting-user: cs11kgm In article <3pg4vj$bqe@stc06.ctd.ornl.gov>, MGM writes: > 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 > What is the name of the file that we need to install from freeware? I tried to put in my .cshrc file "setenv autologout 30" and it did nothing. When I do a set to show the variables set "autologout" does not appear. What am I doing wrong? Thanks, kim