timeout

How can I kick a user out after being idle for a certain amount of time, would prefer not to use scripts, will TMOUT work on HP-UX?

This varies from shell to shell. TMOUT works for ksh and the posix shell. If you have other shells in use, you need to check the docs for those shells.

Depends on what shell a user is using. For example, ksh and bash support TMOUT, csh supports autologout, Bourne shell
supports neither.

Also setting TMOUT and the like may interfer with certain long
running processes which do not require much user interaction.

Do a Google search for "idleout" and/or "logmon".

  • Finnbarr

well what does TMOUT consider "idle"
I dont want weblogic commming down if it 's considered "idle"?

TMOUT is working with HP-UX (ksh and POSIX) .
you just need to set it in the user profile

TMOUT=90 (for example).

TMOUT should be in /etc/profile and made read-only.

TMOUT=14400
readonly TMOUT
export TMOUT

90 is an unrealistically low value. IMO.

TMOUT will NOT affect the user if they are "inside" a program.
For example, some users here leave their sessions in sqlplus overnight just so TMOUT doesn't clobber their session -- a violation of our security policy. :slight_smile: