Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: MGM <mostafa@orph01.phy.ornl.gov>
To: cs11kgm@rigel.syscon.com
Subject: Re: How to time out idle users
Date: 1995/05/21	[thread overview]
Message-ID: <3pnvvh$kmc@stc06.ctd.ornl.gov> (raw)
In-Reply-To: 1995May19.135751.1@rigel

cs11kgm@rigel.syscon.com wrote:
>In article <3pg4vj$bqe@stc06.ctd.ornl.gov>, MGM <mostafa@orph01.phy.ornl.gov> 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




  parent reply	other threads:[~1995-05-21  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-18  4:00 How to time out idle users PM Wong
1995-05-18  4:00 ` Andrew Top
1995-05-18  4:00   ` MGM
1995-05-19  4:00     ` cs11kgm
1995-05-21  4:00       ` Yi-Kai Tsai
1995-05-21  4:00       ` MGM [this message]
1995-05-25  4:00   ` Randy M. Hayman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox