Is there a way to logout an inactive user after nn minutes?

Robert E. Wargaski Jr. wargaski at casbah.acns.nwu.edu
Wed May 15 07:35:00 AEST 1991


mjrx at ellis.uchicago.edu (Marty Ryan) writes:
|> 
|> In the ksh, there is an environment variable, TMOUT, which specifies the
|> number of minutes the shell will wait inactive before exiting. If you
|> were to set this in /etc/profile, all ksh users would be handled. I don't
|> know if the csh has a similar construct.

It does.  Setting autologout variable will cause the shell to log
itself out after a certain period of idle time.  For example,

		set autologout=30

will log you out after thirty minutes of idle time.

Rob

-- 

Rob Wargaski
r-wargaski at nwu.edu			Colby is good.
ACNS DSS, Northwestern University



More information about the Comp.unix.aix mailing list