The TMOUT and TIMEOUT variables will only come into play if you sit at an idle shell prompt for the designated time period.
If you're connecting through a firewall, there's usually a timeout on the firewall for tracking sessions. If there's no traffic on a connection within the timeout period, the firewall drops the connection to free up memory for tracking active connections. To both your telnet client and the telnet server it will appear as if the other dropped the connection.
If you're able to use PuTTY as your telnet client (it can do straight telnet as well as ssh), there's a setting that can be configured to send null packets on a periodic basis as a "keepalive".
Another option, on the AIX side, is to look at the "no" command's man page, particularly the options starting with "tcp_keep".
- Rod
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+
There is also a timeout setting for the login prompt. See usw stanza in /etc/security/login.cfg (attribute logintimeout).
The default is "logintimeout = 60". You'd think that setting it to zero would mean no timeout, but it uses the default of 60 seconds also. I set it to a large number: 3000000 i.e. more than one month - close enough to forever to me.
There's a tool to do this, saves you editing the config file manually (and getting it wrong or messing up the file ;-))
Code:
chsec -f /etc/security/login.cfg -s usw -a logintimeout=3000000
Does the timeout setting presented above work with CDE sessions as well?
I set the logintimeout=15 ...... After 15 minutes I wasnt logged out, but rather the terminal was locked. How do I go about enabling auto log of a idle session?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.