There is a chance to run the script by root itself.. so i coded like following
But su svn -c 'sh $thisScript' is not working correctly.
i tried all the following:
su svn -c 'sh $thisScript' --> Will go to bash$ prompt
su svn -c '$thisScript' --> Nothing will do
su - svn -c 'sh $thisScript' --> Nothing will do
su -c 'sh $thisScript' - svn --> Nothing will do
Hi,
I have a script A.run which will call B.run.
How can i run B.run with a common id instead of using my login id?
I have tried as below, in Script A.run :
.........
echo "Running B.run......"
rsh -l commonid hostname B.run
.........
but it's give me "Permission Denied".......
... (3 Replies)
I want to start off by saying thanks to everyone here, you're answers and suggestions are always very helpful.
I have a shell script which is invoked when an email is received. This shell script extracts any attachments that are sent with this email, and then runs a script which submits these... (8 Replies)
Hi all,
I'm a newbie to the Linux world.
I have a script that needs to run under "UserB". But I don't want to give out the password to UserB. Is there a way to setup the script to run as "UserB" when UserA runs it.
Thanks in advance for your assistance. (1 Reply)
Hello Experts
I want to run script from another user in unix . Also the script
has been calling from SQL. HOST command helps to call the unix file
from sql . But my problem is the unix script has to be run by
another user.
I tried tht following
$ sudo su - user2 -c who... (4 Replies)
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Guy's
I have script to start the data base and this script need to be excited by Oracle user
Is there any command to be excited by root and to run this script Start_Oracal_DB.sh by Oracle user
Pls Advice …
Excessive formatting removed.
I have told you so on several occasions now and... (2 Replies)
hello all
There are files on host1 which need to sftp'd to host2 everyday. user 'yyy' has his dsa keys set up on host 1 and host 2 . If user 'yyy' executes the below query without 'su' part, then all files are transferred.
Now user 'xxx' wants to run the script and transfer the files, but he... (5 Replies)
Hi
I have a script that i would like to be run by a different user.
For example, I have a file called 'mytest.pl' created by user 'user4'
What command should i use to make sure that user 'ydanial' has ability to run 'mytest.pl' ?
Thanks (6 Replies)
I have a script ( the name is /tmp/script1) , the content is simple , just copy a file to another directory .
Now I would like every user will change to a specific user ( eg. userA ) before run this script so that the script will be run by userA , that mean I want only userA run this script , I... (2 Replies)
Hi,
I want to deploy a (perl) script, in Linux. (Red Hat 7).
Is there a way to protect the script itself from being viewed by the user, but still allow the user to run the script?
I dont want the user to be able to see the source code of the script. (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
LEARN ABOUT DEBIAN
svn-autoreleasedeb.conf
SVN-AUTORELEASEDEB.CONF(5) User Contributed Perl Documentation SVN-AUTORELEASEDEB.CONF(5)NAME
svn-autoreleasedeb.conf - Configuration for svn-autoreleasedeb
SYNOPSIS
/etc/svn-autoreleasedeb.conf
$HOME/.svn-autoreleasedeb/conf
DESCRIPTION
The svn-autoreleasedeb configuration file is writed in XML, because XML is easy to work with multiple-level data, but it's already in the
TODO list to use a better format.
As a good XML file, this config file has the following header.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE svn-autoreleasedeb [
<!ELEMENT sources (server)+>
<!ELEMENT server (package)+>
<!ATTLIST server
name CDATA #REQUIRED
options CDATA #REQUIRED>
<!ELEMENT package (option)+>
<!ATTLIST package
name CDATA #REQUIRED
svnserver CDATA #REQUIRED
prefix CDATA #REQUIRED
tag CDATA #REQUIRED>
<!ELEMENT option EMPTY>
<!ATTLIST option
name CDATA #REQUIRED
value CDATA #REQUIRED>
]>
Which, in fact, tells the structure of the XML file. But in the case you don't know XML, this header tells that, in the sources, you have
servers, which have packages, which have options. A server has the "name" and the "option" properies, a package has "name", "svnserver",
"prefix" and "tag" properties and an option has "name" and "value" property.
Before explaining how the options affects the script, you must know that in the current version, all the tags and properties MUST be lower-
case (it's already on the TODO list).
CONFIGURATION SECTIONS
server
This is the master section, tells what server to dupload. Actually, the "name" property of the server is used as the "--to" parameter to
dupload. Packages are declared inside servers. Also, the "options" property tells aditional parameters to svn-buildpackage for every pack-
age in this server.
package
The package itself, the "name" property is used as the module name for svn checkout. The "svnserver" property is passed to svn and the
"prefix" is placed before the module name, used if your package is inside some other directory than the svn root. You must inform the tag
to checkout the sources from. This tag should be used to point where to get the release from. "stable" is a good name for a tag.
option
Specify an option to a package. The following options are accepted and increment the following text to the svn-buildpackage command:
binary-source = 1: "-b"
EXAMPLE
In the case you still didn't understand the config file, follows an example:
<server name="intern">
<package name="svn-autoreleasedeb" svnserver="svn://ruoso@ozonio:/var/svn" prefix="" tag="trunk">
</package>
<package name="someotherpackage" svnserver="svn://ruoso@ozonio:/var/svn" prefix="" tag="trunk">
<option name="binary-source" value="1"/>
</package>
</server>
SEE ALSO svn-buildpackage(1), svn(1), svn-autoreleasedeb(1), dupload(1)AUTHOR
This manual page was written by Daniel Ruoso <daniel@ruoso.com>, for the Debian GNU/Linux system.
perl v5.8.7 2006-08-04 SVN-AUTORELEASEDEB.CONF(5)