11-07-2006
Are you an admin on these systems? The r-commands might be disabled on your systems because they have inherent security loopholes.
If you are an admin, then look into installing ssh and configuring that between the systems where you want to check file dates. If you aren't an admin, check with your admins how you could connect to another system without a passwd.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there, I am designing a software rollout script and need to check if a particular file exists on a remote system
something along the lines of
if ; then blah blah
The above doesnt work but you get the general idea....is there a way I can do this on a single line ??
any help would... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
2. Solaris
1. scp person1@10.10.10.1:file1 person2@10.10.10.2:file1
2. scp file1 person1@10.10.10.1:file1
For #1, I keep getting this error:
Password:
Host key verification failed.
lost connection
I have entered the correct password too!
#2 works fine. I suppose I cannot copy a file between two... (6 Replies)
Discussion started by: kungpow
6 Replies
3. Shell Programming and Scripting
Hi
Does anybody know how I can check if a file exists on a remote machine
i.e. see bellow, this doesn't work by the way and if tried countless variations on this
#!/bin/sh
hostname=server56
if ; then
echo file exists
else
echo file doesn't exist
fi
Any help on this would... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
4. Shell Programming and Scripting
Hi,
Can someone tell me how to check if a file exists on a remote machine using rexec command?I'm using ksh.
Thanks (3 Replies)
Discussion started by: Sheema
3 Replies
5. UNIX for Advanced & Expert Users
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies
6. Shell Programming and Scripting
hello,
iam able to ssh to a linux server from a linux server called "machine1" using the private/public key method, so I dont need to enter any password when I run my script but iam not able to ssh from machine1 to a UNIX server, access is denied.
note that I am using an application id which is... (6 Replies)
Discussion started by: wydadi
6 Replies
7. Shell Programming and Scripting
I am haveing one script haveing one issue with this could any one can reply soon it is very urgent.
:p
if ssh hcp_ftp@$1 'ls '$2/stop.txt' 1>&2 2>/dev/null'; then exit 1;
else
scp -p hcp_ftp@$1:$2/VAT*.dat $3 <<EOF
EOF
cd $3
pwd
echo 'About to find file'
SOURCE_FILE=$(ls -rt VAT*.dat|tail... (2 Replies)
Discussion started by: marpadga18
2 Replies
8. UNIX for Dummies Questions & Answers
so i want to monitor a variety of things on hundreds of servers. the old process was to have an agent running on each one of these servers.
but now i'm looking to see if its possible to have agentless monitoring. the only other straight forward option other than having an agent on the hosts, is... (2 Replies)
Discussion started by: SkySmart
2 Replies
9. Shell Programming and Scripting
Hi Experts,
I need a script in which I need to scp a file /home/chandan/abc.txt to a remote server using scp. Then I need to check whether scp is successful or not.
How am I going to write this code?
My Server Name: myserver
File Name On My Server: /home/chandan/abc.txt
Destination Server... (3 Replies)
Discussion started by: ChandanN
3 Replies
10. UNIX for Beginners Questions & Answers
Hi all, posting my first time, hope not breaking posting rules with it, if yes, let me know.
I'm trying to build a script to check a file in an sftp server through a remote server.
The intention is to check the file in a sftp host, and if the file is found or not, it should send an email.... (4 Replies)
Discussion started by: MrShinyPants
4 Replies
LEARN ABOUT DEBIAN
globus-gatekeeper-admin
GLOBUS-GATEKEEPER-(8) University of Chicago GLOBUS-GATEKEEPER-(8)
NAME
globus-gatekeeper-admin - Manage globus-gatekeeper services
SYNOPSIS
globus-gatekeeper-admin [-h]
globus-gatekeeper-admin [-l] [-n NAME]
globus-gatekeeper-admin [-e SERVICE] [-n NAME]
globus-gatekeeper-admin [-E]
globus-gatekeeper-admin [-d SERVICE]
DESCRIPTION
The globus-gatekeeper-admin program manages service entries which are used by the globus-gatekeeper to execute services. Service entries
are located in the /etc/grid-services directory. The globus-gatekeeper-admin can list, enable, or disable specific services, or set a
service as the default. The -h command-line option shows a brief usage message.
Listing services
The -l command-line option to globus-gatekeeper-admin will cause it to list all of the services which are available to be run by the
globus-gatekeeper. In the output, the service name will be followed by its status in brackets. Possible status strings are ENABLED,
DISABLED, and ALIAS to NAME, where NAME is another service name.
If the -n NAME is used, then only information about the service named NAME is printed.
Enabling services
The -e SERVICE command-line option to globus-gatekeeper-admin will cause it to enable a service so that it may be run by the
globus-gatekeeper.
If the -n NAME option is used as well, then the service will be enabled with the alias NAME.
Enabling a default service
The -E command-line option to globus-gatekeeper-admin will cause it to enable a service alias with the name jobmanager. The
globus-gatekeeper-admin program will choose the first service it finds as the default. To enable a particular service as the default, use
the -e parameter described above with the -n parameter.
Disabling services
The -d SERVICE command-line option to globus-gatekeeper-admin will cause it to disable a service so that it may not be run by the
globus-gatekeeper. All aliases to a disabled service are also disabled.
FILES
/etc/grid-services
Default location of enabled gatekeeper service descriptions.
University of Chicago 12/13/2011 GLOBUS-GATEKEEPER-(8)