if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes?
thanks (3 Replies)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
ocf_heartbeat_proftpd
OCF_HEARTBEAT_PROFTP(7) OCF resource agents OCF_HEARTBEAT_PROFTP(7)NAME
ocf_heartbeat_proftpd - OCF Resource Agent compliant FTP script.
SYNOPSIS
proftpd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This script manages Proftpd in an Active-Passive setup
SUPPORTED PARAMETERS
binary
The Proftpd binary (optional, string, default /usr/sbin/proftpd)
conffile
The Proftpd configuration file name with full path. For example, "/etc/proftpd.conf" (optional, string, default /etc/proftpd.conf)
pidfile
The Proftpd PID file. The location of the PID file is configured in the Proftpd configuration file. (optional, string, default
/var/run/proftpd.pid)
curl_binary
The absolute path to the curl binary for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, default /usr/bin/curl)
curl_url
The URL which is checked by curl with OCF_CHECK_LEVEL greater zero. (optional, string, default ftp://localhost/)
test_user
The name of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, default test)
test_pass
The password of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 120s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
EXAMPLE
The following is an example configuration for a proftpd resource using the crm(8) shell:
primitive p_proftpd ocf:heartbeat:proftpd
op monitor depth="0" timeout="20s" interval="60s"
op monitor depth="10" timeout="20s" interval="120s"
SEE ALSO
http://www.linux-ha.org/wiki/proftpd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_PROFTP(7)