Link to home
Start Free TrialLog in
Avatar of deusx
deusx

asked on

Inactivity Timeout in Telnet Setting (RH5.0)

Redhat 5.0 linux question.  Telnet session inactivity timeout and disconnect is annoying me, how can I set the period for inactivity or disable the disconnect?  I can't seem to find ny info on this, but I suspect the answer's so simple I'll smack myself.
Avatar of deusx
deusx

ASKER

Adjusted points to 100
Try the "limit" parameter in /etc/ftpaccess.
Avatar of deusx

ASKER

Umm... Thanks, but I'm asking about Telnetd, not FTPd.  And the limit parameter (according to the man file) limits the number of connections to FTP, not even close to what I'm looking for.  

I need to stop Telnet sessions from disconnecting when I let the shell go idle for more than 5 min.

which shell are you using ?? tcsh ? bash ??
Avatar of deusx

ASKER

Bash, I do believe...
One way to find out for sure which shell you're using is to do a "grep myid /etc/passwd" and
see the last characters ../bin/tcsh .. /bin/bash ... or else. For tcsh you could add
set autologout 1000000 or some last number. Each digit presents a minute.
I agree with 'n0thing';
if using  'tcsh' or 'csh', then 'set autologout nnn'.

ASKER CERTIFIED SOLUTION
Avatar of tosi
tosi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial