Sponsored Content
Operating Systems HP-UX [SOLVED] Telnet timeout issue Post 302759031 by Tommyk on Monday 21st of January 2013 08:58:15 AM
Old 01-21-2013
[SOLVED] Telnet timeout issue

I have telnet configured in /etc/inetd.conf as below:

Code:
telnet       stream tcp6 nowait root /usr/lbin/telnetd  telnetd -b /etc/issue -n20

When i restart the service telnetd shows with only the -b option:

Code:
ps -ef|grep telnetd|grep -v grep
    root 24397     1  0 10:42:35 pts/ta    0:00 telnetd -b /etc/issue

When users try to connect via telnet they are only getting 2 seconds before being logged out of the terminal.

Can anyone point me in the right direction as to why the timeout is so short by default and why i can't set the "-n20" option to extend the timeout?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

telnet session timeout

hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies

2. UNIX for Dummies Questions & Answers

solaris telnet idle timeout

I have put TMOUT=1800;export TMOUT in the /etc/profile, put it does not work, by the way the root default shell is sh. but I wana every one including root to terminate the session after setting idle for 1800 seconds. thank for the help. (1 Reply)
Discussion started by: kahn630
1 Replies

3. AIX

how to change telnet timeout setting

Hi all Can any one solve my problem? I want to change the default timeout setting for telnet in aix, pls help me. (1 Reply)
Discussion started by: vjm
1 Replies

4. Solaris

Disable telnet timeout

Hi, Can someone help me how I can disable telnet timeout? I'm connecting remotely to some machines and after some time my telnet connection was closed. How can I disable this so that I'm always connected to those machines? Thanks! (2 Replies)
Discussion started by: ayhanne
2 Replies

5. Red Hat

telnet idle timeout on Redhat kernel 2.4.35.4

Hello, I've searched this forum for telnet idle timeout problem. I tried to set timeout parameters in /etc/profile readonly TMOUT=10 export TMOUT This doesn't work for Redhat kernel 2.4.35.4. It's really frustrating. Can anybody tell me what else I could try? Thanks a lot! jing (0 Replies)
Discussion started by: jing han
0 Replies

6. Forum Support Area for Unregistered Users & Account Problems

tinylogin telnet idle timeout

Hello, I have a busybox with tinylogin. How can I log user out when I found the telnet session is idle for 10 seconds? I set TMOUT=10 export TMOUT in /etc/profile I found it doesn't work for me. Can anybody help me? Thanks a lot! jing (1 Reply)
Discussion started by: jing han
1 Replies

7. Solaris

rlogin, telnet connections timeout

Hi, I have a Sun Ultra 5 desktop with Solaris 8. When I telnet/rlogin into any other host, the connection closes after few hours of inactivity. I also have another Windows box which I use rarely. But when I telnet/rlogin into the same hosts using putty, the connection stays for days without any... (5 Replies)
Discussion started by: dr_gsb
5 Replies

8. Linux

Telnet Timeout

is there a way to add a timeout parameter to telnet when connecting to any IP address? like, if this IP doesn't respond within 10 seconds, abort. thanks i'm looking for something like this: telnet gaggaga.com 443 -t 10 (3 Replies)
Discussion started by: SkySmart
3 Replies

9. IP Networking

TFTP Server Timeout issue

Hi, I'm running CentOS 5 as guest using VMware player. My host is Windows Xp. I'm running tftp server in CentOS. I have disabled firewall in both windows and CentOS. I use two different networks with different netmasks on CentOS. I'm able to ping the Centos (tftp server) from another Linux machine... (1 Reply)
Discussion started by: suryaemlinux
1 Replies

10. Shell Programming and Scripting

ping and telnet timeout

Hello, I need help, I have the following which save in the result file ping and telnet:port test. Basically the script works but I should implement a check on ping and telnet command so that ping has 5 seconds threshold and telnet (more important) 10 seconds. Over that threshold ping and... (0 Replies)
Discussion started by: marmellata
0 Replies
TELNETLOGIN(8)						    BSD System Manager's Manual 					    TELNETLOGIN(8)

NAME
telnetlogin -- login wrapper for telnetd SYNOPSIS
telnetlogin [-h host] [-p] [-f username] [username] DESCRIPTION
telnetlogin is a setuid wrapper that runs login(1). It is meant to be invoked by telnetd(8); the idea is to remove the necessity of running telnetd as root. telnetlogin should be installed mode 4750, user root, group telnetd. Then, telnetd may be run from /etc/inetd.conf as user ``nobody'', group ``telnetd'', and with the option -L path-to-telnetlogin. telnetlogin accepts only the subset of options to login(1) shown above, in the order listed. This is the order telnetd 8 normally provides them in. telnetlogin also does sanity checks on the environment variables TERM, and REMOTEHOST. It also insists that the standard input, output, and error streams are open on a terminal, and that it is the process group leader of the foreground process of that terminal. After checking all of these conditions, checking the values of the above environment variables for reasonable values, resetting signal handlers, and so forth, it execs login. SEE ALSO
login(1), inetd.conf(5), inetd(8), telnetd(8) RESTRICTIONS
THIS IS PRESENTLY EXPERIMENTAL CODE; USE WITH CAUTION. HISTORY
telnetlogin was written during the development of NetKit 0.17. Linux NetKit (0.17) April 12, 2000 Linux NetKit (0.17)
All times are GMT -4. The time now is 01:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy