- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux server disconnects inactive telnet sessions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:56 AM
09-09-2002 06:56 AM
Linux server disconnects inactive telnet sessions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 11:49 AM
09-09-2002 11:49 AM
Re: Linux server disconnects inactive telnet sessions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 12:52 PM
09-09-2002 12:52 PM
Re: Linux server disconnects inactive telnet sessions
Check the shell TMOUT variable.
export TMOUT=120
will disconnect your session after 120 seconds of inactivity.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:18 PM
09-09-2002 01:18 PM
Re: Linux server disconnects inactive telnet sessions
What does it default to if not explicitly set with the profile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 11:36 PM
09-09-2002 11:36 PM
Re: Linux server disconnects inactive telnet sessions
Yes it exists.
#vi /etc/profile
put this line
TMOUT=0
Now logout and login again. Now the session will never timeout for any user in the server after login.
Now if you want to Increase the timeout of
telnet session , before logging in the server.
( you might have seen that if you keep the telnet session open without giving login name
and password it will disconnect after some time) do this.
#vi /etc/login.defs
LOGIN_TIMEOUT 1000
1000 - seconds
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 12:04 AM
09-10-2002 12:04 AM
Re: Linux server disconnects inactive telnet sessions
Check if /bin/bash = /bin/sh.
On my system, /bin/sh link to /bin/bash.
So both of them have TMOUT.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 10:27 AM
09-10-2002 10:27 AM
Re: Linux server disconnects inactive telnet sessions
The Linux default for Red Hat 7x is 180 seconds(15 minutes). That is reasonable.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 11:16 AM
10-25-2002 11:16 AM
Re: Linux server disconnects inactive telnet sessions
set autologout=0
to your .login file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 02:04 PM
11-06-2002 02:04 PM
Re: Linux server disconnects inactive telnet sessions
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com