10 More Discussions You Might Find Interesting
1. AIX
Hi
The telnet sessions stay as idle users. It is not getting kicked out.
Please advise what could be the issue. only when we reboot the server these telnet sessions goes.
Below is the current output from the server. we rebooted the server three days ago:
pmut6:/> uptime
04:21PM... (8 Replies)
Discussion started by: newtoaixos
8 Replies
2. HP-UX
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
3. Shell Programming and Scripting
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
4. Linux
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
5. Solaris
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
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)
Discussion started by: jing han
1 Replies
7. Solaris
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
8. AIX
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
9. UNIX for Dummies Questions & Answers
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
10. UNIX for Dummies Questions & Answers
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
CAFFEINATE(8) BSD System Manager's Manual CAFFEINATE(8)
NAME
caffeinate -- prevent the system from sleeping on behalf of a utility
SYNOPSIS
caffeinate [-disu] [-t timeout] [utility] [argument ...]
DESCRIPTION
caffeinate creates assertions to alter system sleep behavior. If no assertion flags are specified, caffeinate creates an assertion to pre-
vent idle sleep. If a utility is specified, caffeinate creates the assertions on the utility's behalf, and those assertions will persist for
the duration of the utility's execution. Otherwise, caffeinate creates the assertions directly, and those assertions will persist until
caffeinate exits.
Available options:
-d Create an assertion to prevent the display from sleeping.
-i Create an assertion to prevent the system from idle sleeping.
-m Create an assertion to prevent the disk from idle sleeping.
-s Create an assertion to prevent the system from sleeping. This assertion is valid only when system is running on AC power.
-u Create an assertion to declare that user is active. If the display is off, this option turns the display on and prevents the display
from going into idle sleep. If a timeout is not specified with '-t' option, then this assertion is taken with a default of 5 second
timeout.
-t Specifies the timeout value in seconds for which this assertion has to be valid. The assertion is dropped after the specified time-
out. Timeout value is not used when an utility is invoked with this command.
EXAMPLE
caffeinate -i make
caffeinate forks a process, execs "make" in it, and holds an assertion that prevents idle sleep as long as that process is running.
SEE ALSO
pmset(1)
LOCATION
/usr/bin/caffeinate
Darwin November 9, 2012 Darwin