Re: Telnet Idle Timeout
"Ralph Houben" <[email protected]> Tue, 14 Jan 2003 09:11:21 +0100
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
Hi Galea, Glad i could be of assistance :) allthough i'm not a bash expert but the impression which i get however is that its built in and not alterable, i mean, you can set it in the profile but not alter it interactively.. I havent checked this behaviour yet though so i might be wrong here... but you cant be too carefull these day's anyway.. greetings, Ralph ----- Original Message ----- From: "Galea Gilbert" <[email protected]> To: <[email protected]> Sent: Tuesday, January 14, 2003 8:56 AM Subject: RE: Telnet Idle Timeout > thanks a lot Ralph. I have managed to work it out by using the following: > for bash & korn shells I included the following in /etc/profile > > readonly TMOUT=1800 > export TMOUT > I set it as readonly to avoid users trying to change it's value, including > root. However anybody can do unset TMOUT but that's between us :)) > for tcsh I included the following in /etc/csh.cshrc > > set autologout=30 > > This ensures 30 minutes of idle activity before ending the session. > > Best regards, > Gilbert > <snip orignal message cut, question on how to set TMOUT in bash and referral to the TMOUT var in bash 'man bash' fmi>