That gets it for the folks with ksh as their default shell - but
everyone doesn't use that as their default shell!
Thanks.
Jim
______________________________ Reply Separator _________________________________
Subject: Re: Watchdog
Author: Ayen Gagno <gagno @
portalinc .
com> at SMTPINET
Date: 3/25/96 7:34 AM
On Mon, 18 Mar 1996, S.Ramalingam wrote:
> 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.
maybe you could try tinkering with /etc/profile.. In AIX and Linux,
i just add the lines:
TMOUT=600
export TMOUT
and idle users for 600 seconds get logged out automatically (assuming they're
just in a shell (not a DBMS apps or such)...
good luck! ;)
** Ayen Gagno <gagno @
pnoc_edc .
portalinc .
com>
** philippine national oil company, energy development corporation
** pnpc complex, fort bonifacio, makati city, philippines 1201
:) Opinions expressed by this message muncher is not necessarily my boss's.
|
|