It's more a function of the login shell.
If you use ksh, the TMOUT variable contains how many idle seconds
you are allowed before you are logged out. If set to zero, you won't
get killed. However, users can set this for themselves if they know
about it.
case $SHELL in
..
..
TMOUT=3600 #One hour
export TMOUT
readonly TMOUT
..
..
esac
Al Sharka <ash...@my-deja.com> wrote in <3A958F...@my-deja.com>:
--
Regards,
Kirk Gardner - PCC East Engineer (HPUX Sys Adm)
Hewlett Packard
mailto:kirk_g...@deletethis.hp.com
Setting the environment variable TMOUT will only work for
users at a shell prompt. To handle other cases there are
scripts, such as idled. On the other hand, our company
wrote/sells a product called LOGMON to be more universal.
This software monitors the cpu usage for each user and their
child processes. That way we are sure the user really is
idle (other approaches look at keyboard activity only).
LOGMON allows you to vary the inactivity time by user, time
of day, etc. You can control how the user is logged off.
For details send a message to log...@computron.com or
visit www.computron.com/hp Thanks!
--
+-----------------------------------------------------------------+
| Computronics Randy Styka, ra...@computron.com |
| 4N165 Wood Dale Road Phone: 630/941-7767 |
| Addison, Illinois 60101 USA Fax: 630/941-7714 |
+-----------------------------------------------------------------+