Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Inactivity Timeout in Telnet Setting (RH5.0)

Posted on 1998-09-11
8
Medium Priority
?
639 Views
Last Modified: 2013-12-15
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.
0
Comment
Question by:deusx
8 Comments
 

Author Comment

by:deusx
ID: 1630772
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:t2pp
ID: 1630773
Try the "limit" parameter in /etc/ftpaccess.
0
 

Author Comment

by:deusx
ID: 1630774
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.

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 5

Expert Comment

by:n0thing
ID: 1630775
which shell are you using ?? tcsh ? bash ??
0
 

Author Comment

by:deusx
ID: 1630776
Bash, I do believe...
0
 
LVL 5

Expert Comment

by:n0thing
ID: 1630777
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.
0
 
LVL 12

Expert Comment

by:Otta
ID: 1630778
I agree with 'n0thing';
if using  'tcsh' or 'csh', then 'set autologout nnn'.

0
 

Accepted Solution

by:
tosi earned 200 total points
ID: 1630779
Is your TMOUT variable set ?

By the definition of ksh ( which bash does try hard to emulate ), the TMOUT defines your timeout in seconds.

for an indefinate timeout, set it to 0 by:

export TMOUT=0


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 1 hour left to enroll

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question