Hi,
ksh has such a feature built in.
>From the man pages of ksh on Digital UNIX :
"
TMOUT
If set to a value greater than 0 (zero), the shell terminates
if a command is not entered within the prescribed number of
seconds after issuing the PS1 prompt. (Note that the shell
can be compiled with a maximum bound for this value that
cannot be exceeded.)
"
Just set the TMOUT variable to what you want.
Best regards !
--
Thierry AGASSIS Mail address :
UNIX and Internet Support thierry @
osftag .
geo .
dec .
com
DEC-TEP 16 Partner URL : (from inside dec.com ):
http://www-mcs.geo.dec.com
--- Begin Message ---
Please let me know,
How to automatically logout the user(s) from systems ( from the shell ), if
he or she does not use the system for specified period, say 15 minutes.
Regards
S.Ramalingam
--- End Message ---
|
|