Inactive TELNET session timeout
Tags: Linux, SLES, SUSE, telnet, timeout
The previous post about “Why Telnet Not Working From Different Network” solved my stupid mistake and I have discover another interesting regarding telnet.
Normally if anyone ‘telnet’ to server box and inactive(mean without login) for 60 seconds, the system will keep disconnect automatically. Due to certain reasons, I have to extend the inactive telnet session timeout to one hour.
The solution is simple but I have a difficulty before and I would like to share with everyone.
Edit /etc/login.defs, look for LOGIN_TIMEOUT and change from 60 second to 3600 seconds which is 1 hour.
#vi /etc/login.defs
# Max time in seconds for login
LOGIN_TIMEOUT 3600
Done! Telnet to your machine again and you should be able to last for one hour without login. In case you’re having any problem, please check /var/log/xinetd.log for further information. Again, this is NOT apply to SSH protocol.
Possibly Related Posts:
- RSS Feed Submissions
- Geo Positions
- Interesting about Google Suggest
- Setup a Linux Highly Availability NFS servers
- How to find empty folders on Linux
