Re: [expert] need to have a bash script run as a different user automatically

2002-05-27 Thread Kevin Fonner
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

[expert] makefile problems

2002-05-27 Thread Kevin Fonner
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

Re: [expert] makefile problems

2002-05-27 Thread Kevin Fonner
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

[expert] need to have a bash script run as a different user automatically

2002-05-26 Thread Kevin Fonner
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

[expert] need to have a bash script run as a different user automatically

2002-05-26 Thread Kevin Fonner
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

Re: [expert] path variable

2002-05-05 Thread Kevin Fonner
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

Re: [expert] path variable

2002-05-05 Thread Kevin Fonner
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

Re: [expert] path variable (Thanks! I figured it out! I love linux!)

2002-05-05 Thread Kevin Fonner
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

[expert] path variable

2002-05-04 Thread Kevin Fonner
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

[expert] konsole parameters

2002-04-05 Thread Kevin Fonner
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

[expert] gui floppy image program

2002-02-04 Thread Kevin Fonner
Has anybody ever got around to writing a gui program to managing floppy images sort of like winimage. Thanks,Kevin Fonner[EMAIL PROTECTED]

Re: [expert] gui floppy image program

2002-02-04 Thread Kevin Fonner
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

[expert] loopback device

2002-02-01 Thread Kevin Fonner
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]

[expert] creating devices from scratch

2002-02-01 Thread Kevin Fonner
. Anybody know any good how-to that contains this information or other sorces. Thanks,Kevin Fonner[EMAIL PROTECTED]