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)
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)
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
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)
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
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)
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)
I have telnet configured in /etc/inetd.conf as below:
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:
ps -ef|grep telnetd|grep -v grep
root 24397 1 0 10:42:35 pts/ta 0:00... (1 Reply)
Discussion started by: Tommyk
1 Replies
LEARN ABOUT OSF1
iptos
iptos(4) Kernel Interfaces Manual iptos(4)NAME
iptos - Defines the IP Type Of Service (TOS) for FTP and Telnet
SYNOPSIS
/etc/iptos
DESCRIPTION
The /etc/iptos file configures the Type Of Service (TOS) of the Internet Protocol (IP) used by FTP and Telnet.
The TOS field in the Internet datagram is to specify how the datagram should be handled. It is a mechanism to allow control information to
have precedence over data.
Generally, protocols that are involved in direct interaction with a human should select low delay, while data transfers that involve large
blocks of data need high throughput. Finally, high reliability is most important for datagram-based Internet management functions.
In the Tru64 UNIX operating system, the ftp and telnet applications and the ftpd and telnetd daemons allow the configuring of TOS values.
These applications check to see if the /etc/iptos file exists; if the file exists, the applications obtain the TOS value from the file and
use that value to set the TOS field. If the /etc/iptos file does not exist, the applications default to the following TOS values recom-
mended by RFC1060: Low delay High throughput Low delay
Users who want to configure their own TOS values for the TOS field should provide the /etc/iptos file.
Note
Most IP routers do not differentiate based on TOS, and therefore providing values other than the default would have no affect. You
should not change the default values for FTP and Telnet.
Each entry should consist of a single line of the form:
Application Proto TOS-bits aliases
The entry fields contain the following information: The name of an application TOS entry. The protocol name for which the entry is appro-
priate. The TOS value to be set for the entry. A list of aliases that exist for the entry.
Items on an entry line are separated by any number of blanks, tabs, or combination of blanks and tabs. A number sign (#) indicates that
the rest of the line is a comment and is not interpreted by routines that search the file. Blank lines in the file are ignored.
Valid TOS entry names are ftp-control and ftp-data for FTP and telnet for Telnet.
The TOS value for the entry should be one of the following hexadecimal numbers, corresponding to TOS bits: Low delay High throughput High
reliability
If you need to disable the use of TOS bits, because you are having troubling communicating with a TCP/IP host that doe not conform entirely
with the IP specification, you can disable the TOS bits by using the the following settings in the /etc/iptos file:
# # Format of this file: # Application Proto TOS-bits aliases #
ftp-control tcp 0x0 ftp-data tcp 0x0 telnet tcp 0x0
EXAMPLES
The following example shows typical entries in the /etc/iptos file:
# # Format of this file: # Application Proto TOS-bits aliases #
ftp-control tcp 0x10 ftp-data tcp 0x08 telnet tcp 0x10
RELATED INFORMATION
RFC1060, ftp(1), telnet(1), ftpd(8), telnetd(8) delim off
iptos(4)