- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Timeout inactive telnet session
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
06-08-2005 03:12 AM
06-08-2005 03:12 AM
Timeout inactive telnet session
# export TMOUT=10
then if I stay in shell, I will be kicked out after 10 seconds:
# timed out waiting for input: auto-logout
Connection to host lost.
But if I run some applications after login to the shell, the Timeout didn't work. For example, I did a test to run "top" after setting TMOUT=10, but the telnet seesion didn't timeout until I quited "top" back to the shell, and counted another 10 seconds...
Now I need to kick out inactive users who run an Oracle application after they login to the shell, force them logout after they finish their shift.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:25 AM
06-08-2005 03:25 AM
Re: Timeout inactive telnet session
Its up to the application developer/administrator to configure the application to time out the user. Then TMOUT will work.
This behavior is by design. Imagine what would happen if TMOUT killed a session while it was say updating some oracle data without keyboard input.
SEP
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
06-08-2005 03:27 AM
06-08-2005 03:27 AM
Re: Timeout inactive telnet session
You may need to look at idle time (from who -uH) and explicitly kill such sessions. You need to be very careful when doing this. Educating the users will also help you a lot.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:53 AM
06-08-2005 03:53 AM
Re: Timeout inactive telnet session
Yes, it's reasonable that the TMOUT is acting like this.
But I noticed some users didn't logout their sessions on their devices after their shift, by checking the idle time ( who -u ), is there any better solution for this besides educating them ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 11:43 AM
06-08-2005 11:43 AM
Re: Timeout inactive telnet session
There is also one called 'timeoutd', but i've never used it and can't access the source tree any more.
What appears to be more recent is the 'autolog' program. I can't find any RH packages, but you should be able to grab the SuSE src.rpm and rebuild it for your platform.
ftp://ftp.suse.com/pub/suse/i386/9.3/suse/src/autolog-0.35-722.src.rpm
for example.