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/21 Message-ID: <3pnvvh$kmc@stc06.ctd.ornl.gov>#1/1 X-Deja-AN: 103022650 references: <3pef2s$pib@ctsc.hkbc.hk> <3pg4vj$bqe@stc06.ctd.ornl.gov> <1995May19.135751.1@rigel> to: cs11kgm@rigel.syscon.com content-type: text/plain; charset=us-ascii organization: A.S.U. x-url: news:1995May19.135751.1@rigel mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V2.1 alpha) cs11kgm@rigel.syscon.com wrote: >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 > > You have to be running tcsh (sorry don't remember from where I got it) It may be on your machine already. look for it under /usr/local/bin or /usr/bin. If you have it under OSF/1 say % chsh and enter /usr/local/bin ( or what applies). Not that this will exit the shell, but it will not log you out on an X-terminal or on the console. Regards! Mostafa