Operating System - HP-UX
1830931 Members
2213 Online
110017 Solutions
New Discussion

Session Timeout values on HPUX 10.20/11.11 systems?

 
Angie_1
Regular Advisor

Session Timeout values on HPUX 10.20/11.11 systems?

Is it possible to set a timeout value for those that telnet into an HPUX box from Exceed or from their PC?

What about logins that are at a command line too that are on the console?

What configuration file stores this information?

Understand that if you run any process at all on that box, that the timeout values won't apply.

Angie
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Session Timeout values on HPUX 10.20/11.11 systems?

only TMOUT=#of seconds

which only works when they are idle for that period of time at a shell prompt.

live free or die
harry d brown jr
Live Free or Die
Rajeev Tyagi
Valued Contributor

Re: Session Timeout values on HPUX 10.20/11.11 systems?

Angie,

You can use TMOUT in /etc/profile.

eg
TMOUT=300 #This means session will timeout in 5 minutes.
Angie_1
Regular Advisor

Re: Session Timeout values on HPUX 10.20/11.11 systems?

Where is the TMOUT variable at? Would like it set globally.

Thanks - Angie
Isralyn Manalac_1
Regular Advisor

Re: Session Timeout values on HPUX 10.20/11.11 systems?

You need to set TMOUT variable to the preferred time (in seconds) in your /etc/profile. Sample entry would look like this:

TMOUT=900;export TMOUT

Regards,

Isralyn
Joseph Loo
Honored Contributor

Re: Session Timeout values on HPUX 10.20/11.11 systems?

hi,

use TMOUT parameter in /etc/profile (for all users) or /~username/.profile (individual user).

For example,

TMOUT=1800
readonly TMOUT

this will terminate the idle session after 1800 seconds.

regards.
what you do not see does not mean you should not believe