Operating System - HP-UX
1833748 Members
2582 Online
110063 Solutions
New Discussion

Telnet timeout HPUX-11.00

 
SOLVED
Go to solution
Belinda Dermody
Super Advisor

Telnet timeout HPUX-11.00

Just did a cold install of HP-UX 11.00 this weekend.
Having users being logged off from there telnet sessions, either when they are actually typing in commands or terminal being idle. TMOUT=0, all users are set for /bin/sh, converted system to trusted system and copied over the tcb directory from the 10.20 system
6 REPLIES 6
harry d brown jr
Honored Contributor
Solution

Re: Telnet timeout HPUX-11.00

James,

When do they get logged out, like after two hours regardless if they are actually working or not?

What are they telneting from? (pc, another hpux host, terminal server, ??)??

have you checked to make sure there are no crons killing them?

live free or die
harry
Live Free or Die
Belinda Dermody
Super Advisor

Re: Telnet timeout HPUX-11.00

First response didn't show up,most have gone to the bit bucket in the sky.

Users are being terminated after 15-20 minutes and they are either sitting idle or keying. This is not happening to all users. They have have PC running KEA420 with a telnet session configured, no cron jobs run that would terminate terminals for in activity.
Sandip Ghosh
Honored Contributor

Re: Telnet timeout HPUX-11.00

TMOUT should be the amount of Minutes you want to keep the terminal idle. In normal cases it should be 15 means after 15min the server will terminate the session. In your case it is 0. That is why every body get disconnected.

Sandip
Good Luck!!!
Belinda Dermody
Super Advisor

Re: Telnet timeout HPUX-11.00

Sandip: thanks for the response, but the TMOUT=0 is infinity. Unlimited time period.
harry d brown jr
Honored Contributor

Re: Telnet timeout HPUX-11.00

Sandip,

TMOUT is in seconds, if set to ZERO (0) then it's disabled. If a user types in their session then the "clock" resets.

James,

Do they receive the message "connection timed out" or something along those lines?

live free or die
harry
Live Free or Die
Belinda Dermody
Super Advisor

Re: Telnet timeout HPUX-11.00

Thanks Harry, you lead me to the problem. I had written a script to terminate idle users of a third party software package. It checks the last activity time on a port and compares it to the max time. Well under the 10.20 system, the tty ports were located in pty but under 11.00 they are located in the pts directory. So I made the change to the program and things are fine now. That is what makes the HP forums so great, great people, great answer and great support.