09-01-2009
Hi,
Just a though that crossed my mind: are you using the same charset on both systems?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to run the below command in perl but when the perl script is executed it prompts a error message saying " ssh: <username>: Name or service not known ". Not able to understand this as this command runs perfectly on the server prompt.
` ssh <username>@pus4026dev df -k >>... (2 Replies)
Discussion started by: be2sp1
2 Replies
2. UNIX for Advanced & Expert Users
Is it possible to change the password using a shell script, I want to remotely connect to a computer and then change password without manual intevention.
Thanks in Advance
Rishi (4 Replies)
Discussion started by: RishiPahuja
4 Replies
3. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
4. Shell Programming and Scripting
Hi
I would like to append/modify crontab remotely over ssh and this is what i have tried so far.
text.txt contains the following line.
0,15,30,45 * * * * /home/local/hello.sh
cat text.txt |ssh $host 'tee'
but i dont know how to edit the crontab here after piping it to tee command. (2 Replies)
Discussion started by: xiamin
2 Replies
5. Solaris
I am trying to configure a 4 second delay between failed login attempts on SSH. (1 Reply)
Discussion started by: LittleLebowski
1 Replies
6. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
7. UNIX for Dummies Questions & Answers
How do I resolve the below error. I want to change the ownership on sf_Temp file from media to dba.
# grep ^media /etc/group
# ls -l
drwxrwx--- 1 root vboxsf 0 Feb 1 16:10 sf_Temp
drwxrwx--- 2 root vboxsf 4096 Jan 31 17:59 sf_VBoxShared
dr-xr-xr-x 6 oracle root 2048 Dec 19 09:20... (4 Replies)
Discussion started by: lutus
4 Replies
8. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
9. Solaris
Hi everyone,
I have a Solaris machine:
SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
After reboot, I can't ssh to this machine. Error message:
ssh: connect to host xxxx port 22: Connection refused
It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies
10. Shell Programming and Scripting
Hi all.
I need a bash script to run a function remotely. I think it should be similar to the following but can't figure out the exact syntax.
Here is the script:
#!/bin/bash
function nu ()
{
for var in {0..5}; do printf "$var, "; done; echo
}
ssh host "$(typeset -f); nu"
... (9 Replies)
Discussion started by: ziguy
9 Replies
LEARN ABOUT DEBIAN
lfc-chown
LFC-CHOWN(1) LFC User Commands LFC-CHOWN(1)
NAME
lfc-chown - change owner and group of a LFC directory/file in the name server
SYNOPSIS
lfc-chown [-h] [-R] owner[:group] path...
lfc-chown [-h] [-R] :group path...
DESCRIPTION
lfc-chown sets the owner and/or the group of a LFC directory/file in the name server to the values in owner and group respectively.
To change the owner ID, if the group ID does not change and if the caller and the new owner ID belong to that group, GRP_ADMIN privilege is
needed, otherwise the caller must have ADMIN privilege in the Cupv database. To change the group ID, the effective user ID of the process
must match the owner ID of the file and the new group must be in the list of groups the caller belong to or the caller must have ADMIN
privilege in the Cupv database.
owner is either a valid username or a valid numeric ID.
group is either a valid group name or a valid numeric ID.
path specifies the LFC pathname. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable.
OPTIONS
The following options are supported:
-h If path is a symbolic link, changes the ownership of the link itself.
-R Recursive mode.
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), lfc_chown(3), Cupvlist(1)
AUTHOR
LCG Grid Deployment Team
LFC
$Date: 2007/01/15 08:05:17 $ LFC-CHOWN(1)