If i do " chown scott:users /backup/scott/data/FILE " there is no problem.
I think the problem is in the variable $group cuz it is containing this " \r " any hint where this comes from or how to get rid of it ?
Thank you
Greetings Linién
edit:
Additional Info:
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
Linux version 2.6.11.4-21.15-default (geeko@buildhost) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 Tue Nov 28 13:39:58 UTC 2006
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)
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)
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)
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)
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)
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)
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)
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)
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
nih-dbus-tool
nih-dbus-tool(1) General Commands Manual nih-dbus-tool(1)NAME
nih-dbus-tool - D-Bus binding code generator
SYNOPSIS
nih-dbus-tool [OPTIONS]... [-o FILE] [XMLFILE]
nih-dbus-tool [OPTIONS]... -o FILE --system|--session --dest=NAME OBJECT-PATH
DESCRIPTION OVERVIEW
The D-Bus introspection format is an XML document describing the interfaces implemented by a particular object, including the methods and
signals of that interface along with their arguments and the properties of that interface.
A single document describes a single object, represented by the root <node> tag. Interfaces implemented by that object are specified by
<interface> tags within it. Methods, signals and properties defined by the interface are described by <method>, <signal> and <property>
tags within the interface. Arguments to methods and signals are defined by <arg> tags within them. Names and other values are specified
as attributes to the tag.
Additional properties for external tools or software may be given in <annotation> tags. These may appear within interfaces, methods, sig-
nals, properties and arguments. nih-dbus-tool makes use of many of these. Note that argument annotations are an nih-dbus-tool extension
to the format.
nih-dbus-tool's parser is reasonably liberal, to allow for future expansion of the D-Bus introspection format. Any unknown tag, attribute
or annotation, or any tag not in an expected location, will be ignored with a warning. However a missing root node tag, missing
attributes, illegal or invalid format values for defined attributes or non well-formed XML will result in an error.
Character data and comments are not considered part of description, and are not parsed.
OPTIONS AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
BUGS
Report bugs at <https://launchpad.net/libnih/+bugs>
COPYRIGHT
Copyright (C) 2009 Scott James Remnant <scott@netsplit.com>.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
libnih-dus 2009-04-11 nih-dbus-tool(1)