Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HP/UX Session Timeout

600 views
Skip to first unread message

Bei Ngo Ng

unread,
Feb 22, 2001, 5:20:20 PM2/22/01
to
Does the HP/UX OS have a session timeout parameter for those that are
logged in? As in idle time for a certain amount of time will
automatically log you out?

Al Sharka

unread,
Feb 22, 2001, 5:17:12 PM2/22/01
to

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.

Kirk Gardner

unread,
Feb 23, 2001, 2:57:37 PM2/23/01
to
If you want to prevent users from changing it, just add the variable to
/etc/profile using readonly.

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

Randy Styka

unread,
Feb 28, 2001, 11:17:04 PM2/28/01
to

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 |
+-----------------------------------------------------------------+

0 new messages