Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

su in a script?



Hello agin...its the script guy again

Im trying to write a script to run an aplication after it su's to a diferent
user...can this be done?

right now it stops after it does its su!

#!/bin/sh
su quake3

cd /usr/local/games/quake3

./linuxq3ded +set dedicated 2 ...blah..blah
----------------
The script seems to bomb after it su's...it changes to the quake3 user then
it just sits at the prompt!  I can then enter the comand to run the
app....but I want it to do the whole thing!


thnx
Katz

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org