1855920 Members
9508 Online
104107 Solutions
New Discussion

Re: telnet time limited

 
SOLVED
Go to solution
常有慈悲心
Regular Advisor

telnet time limited

hi,
i telneted to a hpux server, when telnet session didn't activity after some minutes, the connection terminated automatically. How can i setup my system to adjust the time limited or the connection is always untill i close it manually ?
2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: telnet time limited

IF the users do not have the TMOUT environment variable asserted upon them through /etc/profile or their own ~user/.profile, then chances are *something* in the network (firewall?) is timing out their connection.
There is NO default in HP-UX that can cause this. The *only* place this could be asserted other than a shell setting is in /etc/rc.config.d/nddconf. BUT, Id suspect a shell setting first for sure.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor
Solution

Re: telnet time limited

Depending on the shell of the user, there is a timeout facility in the shell that cab used.

TMOUT (korn shell, posix etc)
autologout (csh)

Check the man page for details, but basically these can be built into /etc/profile or individual .profile etc
Anyone for a Mutiny ?