Operating System - HP-UX
1836408 Members
2652 Online
110100 Solutions
New Discussion

how to set the timeout value of telnet connection(hp-ux 11.00--hp-ux 11.11)?

 
SOLVED
Go to solution
tigerjaz
Occasional Advisor

how to set the timeout value of telnet connection(hp-ux 11.00--hp-ux 11.11)?

how to set the timeout value of telnet connection(hp-ux 11.00--hp-ux 11.11)?
laomao
2 REPLIES 2
T G Manikandan
Honored Contributor
Solution

Re: how to set the timeout value of telnet connection(hp-ux 11.00--hp-ux 11.11)?

If you are using kshell or bourne shell
you can use your TMOUT variable to set it.

TMOUT=60
export TMOUT

If you are using c shell
use
set autologout=60

Thanks
G Manikandan
T G Manikandan
Honored Contributor

Re: how to set the timeout value of telnet connection(hp-ux 11.00--hp-ux 11.11)?

TMOUT=
readonly TMOUT
export TMOUT


you can also make the variable readonly so that users cannot change it.
Also note that the value in minutes.
Once I had this variable to 600 and thought that in seconds and was waiting for Timeout after 10 minutes.
Also note that you can make the entry for ksh or sh in your /etc/profile file and for csh in /etc/csh.login for all the users.