So with this example you have to kick this script off under root. Correct?
The problem is I would prefer not to have the hastle of going under root.
J. Grant wrote:
as r00t
su other-user
chmod 700 script.sh
chmod +s script.sh
exit
JG
ps be careful this user is aware that someone
In a make file that I have, I have the line...
include ..\..\examples\common.make
I then get the error makefile:18: ..\..\examples\common.make: No such
file or directory
Does linux not like this syntax (..\..\)for moving backwards through
directories?
Want to buy your Pack or Services
oops!
It's funny how the simplest things stump you at times!
KevinO wrote:
Kevin Fonner wrote:
Does linux not like this syntax (..\..\)for moving backwards through
directories?
No, those are back-slashes. Linux uses forward-slashes '/'
ie : ../../../ will work to bring you up 3
I have a bash script that get's called from another bash script. How
can I get the second bash script to run as a different user?
Thanks,
Kevin
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
I have a bash script that get's called from another bash script. How
can I get the second bash script to run as a different user?
Thanks,
Kevin
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Dfox,
What you took advantage of is exactly what I want to do. I am compiling and
running java programs... and I am using multiple java versions. I would
like to type a command in a new window and have it set up the appropriate
java environment.
How did you easily access and manage the
Ok... I got that much so far...
Here is one of my scripts.
#!/bin/bash
# Set Java Environment
JAVA_HOME=/usr/java/jdk122
export JAVA_HOME
CLASSPATH=.
export CLASSPATH
JDK_HOME=$JAVA_HOME
export JDK_HOME
JES_INSTALL_DIR=/home/kevin/java/jes2.0
export
I actually came up with an interesting way to make everything work.
I first created a file called jdk122.desktop in /usr/share/apps/konsole.
Here is the file.
*
[Desktop Entry]
Type=KonsoleApplication
Name=jdk122
Name[et]=JDK 1.2.2
Comment=JDK 1.2.2
I need a convient way to script setting up a path variable within a single
console so that I may set up multiple consoles running different setups. I
wrote a script and ran in it in the console window to set the path but it
seems when I run the script it creates a new instance, sets the
Is their a way that I can create an icon to open up a konsole window with
it's own path and environment variables?
Also I noticed in konsole under kde I can have a single window with several
sessions open. Is it possible to have a single window open up a window with
2 or 3 sessions each with it's
Has anybody ever got around to writing a gui
program to managing floppy images sort of like winimage.
Thanks,Kevin Fonner[EMAIL PROTECTED]
what's on them.
Thanks,
Kevin Fonner
[EMAIL PROTECTED]
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 04, 2002 3:46 PM
Subject: Re: [expert] gui floppy image program
On Mon, 4 Feb 2002, Kevin Fonner wrote:
Has anybody ever got around
I configuring a loopback device using losetup with
DES encryption. During the setup up it asks...
Init (up to 16 hex digits):
It doesn't specify this parameter in the man
pages.
Any ideas?
Thanks,Kevin Fonner[EMAIL PROTECTED]
. Anybody know any good how-to that contains this
information or other sorces.
Thanks,Kevin Fonner[EMAIL PROTECTED]
14 matches
Mail list logo