1832181 Members
2696 Online
110038 Solutions
New Discussion

rlogin timeout

 
SOLVED
Go to solution
Joe Zhu_2
Occasional Contributor

rlogin timeout

OS: hp-ux 11.x
Problem: rlogin and running for a few hours, then connection closed by host

Any ideas how this happened? Thanks for any help.
3 REPLIES 3
Varghese Mathew
Trusted Contributor
Solution

Re: rlogin timeout

Hi,

Though ur question is not very clear - still i am sharing a few thoughts with u ..
A new shell variable is added in teh HPUX 11.0 - "autologout". If the terminal remains idle ie; no character input -- at the shell's top level for a number of minutes greater than the value assigned to autologout, you are automatically logged off. The autologout feature is temporarily disabled while a command is executing.

The initial value of autologout is 60. If unset or set to 0, autologout is entirely disabled. Use set command for teh same .

Hope this helps..
Cheers !!!
Mathew

Cheers !!!
John Bolene
Honored Contributor

Re: rlogin timeout

Networking problems can cause this also.

If the TCP connection is disconnected for more than 3 minutes, you will get terminated.

This happens in our shop when folks are working under the floor tiles and knock a connection or power plug loose. We had one power cord for a router that did not want to stay plugged in and would gradually work its way out of the router end. Replacing the cord fixed the problem.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Philip P. Hartl
Valued Contributor

Re: rlogin timeout

There is also a generic Unix variable, TMOUT, typically set in the default profile. We use this to satisfy audit concerns on HP-UX 10.x and 11.00. If TMOUT is set > 0, the session will exit after the specified number of seconds; i.e. TMOUT=1800, exit after 30 minutes of inactivity.
Don't take life so seriously; nobody gets out alive.