Operating System - HP-UX
1833768 Members
2287 Online
110063 Solutions
New Discussion

timeout on telnet at 60 minutes

 
Ratzie
Super Advisor

timeout on telnet at 60 minutes

First, yes I know telnet is insecure.
But, this is needed.

HP 11.11 trusted system
Telnet is timing out after 60 minutes.

We have changed the /etc/profile to:
TMOUT=0
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: timeout on telnet at 60 minutes

In profile, is it set as:

TMOUT=0
export TMOUT


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
A. Clay Stephenson
Acclaimed Contributor

Re: timeout on telnet at 60 minutes

From the shell, echo $TMOUT. It really doesn't matter what you put in /etc/profile or .profile because the value that counts is the current value. If that is 0 then TMOUT is not your problem. TMOUT would only come into play when you are back at the shell prompt. For example, if you were running vi, you wouldn't be logged out by TMOUT regardless of the amount of idle time.

If you are getting knocked off within applications then you need to look for some sort of watchdog daemon that looks at the modification time of /dev/tty. You also might be the victim of idle timeouts in your routers or firewall. Do local users get knocked off as well as remote users?
If it ain't broke, I can fix that.
OldSchool
Honored Contributor

Re: timeout on telnet at 60 minutes

what's the output of the following:

ndd -get /dev/tcp tcp_keepalive_interval

Ratzie
Super Advisor

Re: timeout on telnet at 60 minutes

root@host # ndd -get /dev/tcp tcp_keepalive_interval
7200000