03-20-2002
What shell does your user running ?
try to edit the:
$HOME/.profile
and set the following
TMOUT=3200
*TMOUT=3200 will cause a log off after 20 minutes (3200 seconds) if no keyboard activity encountered OR no output is generated to the display AFTER the timeout period has expired. There is a 20 second pause before the shell is exited.
10 More Discussions You Might Find Interesting
1. Programming
The scenerio is:
1. A server listens on a port number
2. If the server is down and the Client tries to connect
3. How to set the timeout for the client
Detailed explaination:
In a client server architecture over a TCP/IP, normally the server is started first which waits and listens for the... (1 Reply)
Discussion started by: shilpi_gup
1 Replies
2. Shell Programming and Scripting
Hi all,
I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell.
How can this be achieved ??
I am using Linux RHEL 5 and Solaris 10.
Pls help.
Thanks in adv.
VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies
3. Shell Programming and Scripting
When I run a script where the 1st parameter is ip address
ftp -n -i -v $1
I hang here if the ip is wrong
how to set a timeout something like
if (20s not complete "ftp -n -i -v $1") then
echo "error"
fi
Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies
4. UNIX for Dummies Questions & Answers
I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing
log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any
immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies
5. Shell Programming and Scripting
SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies
6. AIX
Friends,
Could anyone let me know - how to set the timeout value for ssh session to HMC? My HMC version is -- V7R7.4.0. I'm sure the version doesn't have anything to do with it.
Thanks,
-- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies
7. Red Hat
How is it possible to set the screensaver timeout on red hat.
For solaris I understand it is :
for file in /usr/dt/config/*/sys.resources; do
dir=`dirname $file | sed s/usr/etc/`
mkdir -p $dir
echo 'dtsession*saverTimeout: 10' >>$dir/sys.resources
echo 'dtsession*lockTimeout: 10'... (0 Replies)
Discussion started by: alvinoo
0 Replies
8. Shell Programming and Scripting
I have a command to check the status of hostname and port number,
echo > /dev/tcp/hostname/80
echo $?
0
success case
echo > /dev/tcp/hostname/809999
I got the output
-------------------
connection timed out
It took almost 4 minutes to time out,,, how can I set it to 10 seconds?
my... (2 Replies)
Discussion started by: sam@sam
2 Replies
9. Linux
Hello friends,
I work on Linux servers via SSH (putty) and run "screen" to preserve my sessions so I can attach/detach them at anytime I wish without losing the connectivity/process disruption which is working perfectly fine.
As my team members also have root access to those servers, it is... (7 Replies)
Discussion started by: prvnrk
7 Replies
10. AIX
I have to make a command to work when connecting to AIX 7.1 (used by an internal software).
I have a linux server L where the following command is runned ssh -t <aix-server-ip> ls
For a <non-aix-server-ip> the command runs successfully.
For AIX the terminal just gets blocked.
ssh connection... (5 Replies)
Discussion started by: ufo
5 Replies
dxpause(1X) dxpause(1X)
NAME
dxpause - locks (pauses) an X display
SYNOPSIS
dxpause [-autopause] [-time n] [-wait]
OPTIONS
If the -autopause option is set, when the display is unlocked, dxpause does not exit but instead becomes an icon. In this case, dxpause
automatically locks the display when the X server goes into screensaver mode if the X Screensaver extension is present in the X server.
De-iconifying dxpause also causes the display to be locked. The -time option only has meaning if the -autopause option is also set. The
-time n option sets the autolock timeout period to n minutes. The default period is whatever the X server's screensaver timeout is set to,
and the latter defaults to 5 minutes. The -wait option only has meaning if the -autopause option is also set, and causes dxpause to start
in the iconified state rather than immediately locking the display.
Without any of these options set, dxpause locks the display immediately when invoked and exits when the display is unlocked.
DESCRIPTION
The dxpause program must be invoked explicitly by users (typically those running the generic X display manager rather than CDE). The
dxpause program places a blank screen over the workstation screen and displays a dialog box that prompts for the password of the person
whose session was paused. When you enter the correct password, the blank screen is removed and the session resumes.
In the file, the following resources are used by the dxpause program: The first name for lines that apply only to the Pause task should be
labeled DXpause. When this resource is True, dxpause executes an XGrabServer library call, thereby inhibiting all processing of requests
or close downs on any other connection. Although this action absolutely insures that no information is displayed "through" the pause
screen, it also effectively suspends other tasks that need to output information to their windows. When this resource is False, the pro-
tective pause screen is raised to the top of the display stack 20 times per second, thus re-covering any other window that might have been
displayed. Tasks that need to output to their own windows will not be suspended. The default is False. When this resource is True,
dxpause behaves as if it were run with the -autopause option. See the OPTIONS section, above. The default is False. When this resource is
set to a numeric value n, dxpause behaves as if it were run with the -time n option. See the OPTIONS section, above. This resource only has
meaning if the autoPause resource is set, or if dxpause is started with the -autopause option. The value n defaults to whatever the X
server's screensaver timeout is set to, and the latter defaults to 5 minutes. When this resource is True, dxpause behaves as if it were
run with the -wait option. See the OPTIONS section, above. This resource only has meaning if the autoPause resource is set, or if dxpause
is started with the -autopause option. The default is False.
FILES
SEE ALSO
X(1X)
dxpause(1X)