Thanks, that did just what I wanted. ----- Original Message ----- From: "SoloCDM" <[EMAIL PROTECTED]> To: "Jesse Angell" <[EMAIL PROTECTED]> Cc: "Linux-Mandrake Newbie" <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 7:12 PM Subject: Re: Script
> Jesse Angell stated the following: > > > > I need this script to do the following things, in order to start > > some clients palace servers.... It simply stops after the first user > > what the problem > > > > #!/bin/sh > > > > su angeleyez ; /home/angeleyez/palaceserver/bin/start-palace ; exit > > su digitalfantasy ; > > /home/digitalfantasy/palaceserver/bin/start-palace ; exit > > su j323k41j4 ; /home/j323k41j4/palaceserver/bin/start-palace ; exit > > su redbaron ; /home/redbaron/palaceserver/bin/start-palace ; logout > > su staticfx ; /home/staticfx/palaceserver/bin/start-palace ; exit > > su zach ; /home/zach/palaceserver/bin/start-palace ; exit > > Take off " ; exit" and " ; logout" from the end of each line. Remove > "; " before each directory. Now put -c before each directory. > > su <user> -c <directory> > > If you are using a command line with spaces, put single quotes around > the command or multiple commands, unless you are using variables, then > use double quotes. > > Using sudo is a waste of time. > > -- > Note: When you reply to this message, please include the mailing > list/newsgroup address and my email address in To:. > > ********************************************************************* > Signed, > SoloCDM >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
