Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to time out idle users
@ 1995-05-18  4:00 PM Wong
  1995-05-18  4:00 ` Andrew Top
  0 siblings, 1 reply; 7+ messages in thread
From: PM Wong @ 1995-05-18  4:00 UTC (permalink / raw)


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

--

                    \\\//
                    (o o)
[----------------ooO-(_)-Ooo---------------] PM Wong (Computer Officer) CTSC
[User User User User User User User User Us] Hong Kong Baptist University 
[ser User User User User User User User Use] 224 Waterloo Road, Kln. HONGKONG
[er User User User User User User User User] Voice: (852)3397425  Fax: 3397888
[------------------------------------------] Email: pm@ctsc.hkbc.hk 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  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-25  4:00   ` Randy M. Hayman
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Top @ 1995-05-18  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  1995-05-18  4:00 ` Andrew Top
@ 1995-05-18  4:00   ` MGM
  1995-05-19  4:00     ` cs11kgm
  1995-05-25  4:00   ` Randy M. Hayman
  1 sibling, 1 reply; 7+ messages in thread
From: MGM @ 1995-05-18  4:00 UTC (permalink / raw)
  To: top, s11976

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  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
  0 siblings, 2 replies; 7+ messages in thread
From: cs11kgm @ 1995-05-19  4:00 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  1995-05-19  4:00     ` cs11kgm
@ 1995-05-21  4:00       ` Yi-Kai Tsai
  1995-05-21  4:00       ` MGM
  1 sibling, 0 replies; 7+ messages in thread
From: Yi-Kai Tsai @ 1995-05-21  4:00 UTC (permalink / raw)


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

	set autologout=30 in your .cshrc......



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  1995-05-19  4:00     ` cs11kgm
  1995-05-21  4:00       ` Yi-Kai Tsai
@ 1995-05-21  4:00       ` MGM
  1 sibling, 0 replies; 7+ messages in thread
From: MGM @ 1995-05-21  4:00 UTC (permalink / raw)
  To: cs11kgm

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to time out idle users
  1995-05-18  4:00 ` Andrew Top
  1995-05-18  4:00   ` MGM
@ 1995-05-25  4:00   ` Randy M. Hayman
  1 sibling, 0 replies; 7+ messages in thread
From: Randy M. Hayman @ 1995-05-25  4:00 UTC (permalink / raw)



The Korn shell uses an environment variable called TMOUT set to seconds
of idle elapsing before the shell exits.


-- 
Randy M. Hayman					haymanr@icefog.uacn.alaska.edu
	"Ethernet works in practice but not in theory" -- Bob Metcalfe



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1995-05-25  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1995-05-25  4:00   ` Randy M. Hayman

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