Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell tyime outs 2

Status
Not open for further replies.

adamsd

Technical User
Jul 28, 2002
37
AU
Hello,

Can anyone help here..I work with AIX 4.3 servers and want to change the "shell time outs" when I telnet to a server and stay idel for a while it time outs. Can this time limit be changed?

Cheers
Dex
 
adamsd,

Simple,

/etc/profile

Comment in or change the TMOUT variable, it is set in seconds i.e. 60 is 60 seconds, set it to what you want ensuring that the variable is exported.

Log out and log back in and the new value will be used.

Best of luck

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Hi,
ALso
How long is a while , before your session timesout ?

Do you have to go via a firewall before you connect to the server(s) , if so get the timeout period on the firewall checked ?

There is a tcp_keepidle parameter which is 2 hours by default or unless someone has changed it , which indicates length of time to keep connection active ( type no -a | grep tcp ) you'll see other related parameters. Type
man no ( give you explanation)

If it is set low type no -o tcp_keepidle=(value)
will chnage your current session , if it works , you can force this by putting the command in /etc/rc startup script
 
Thanks guys it worked.

have a good day!
Cheers
Dexter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top