Rob,
I have to learn to be more concise, as you where "that what I mean". I
did not mean a sarcasms remark. I thought I have said the same thing in
much more verbose manner. 

And yes I am glad people like you are out there which help others. And I
want to sincerely Thank you for it
Thank you Rob for all your help. 
Afshin



-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 22, 2005 1:48 PM
To: Bozorgdadeh, Afshin
Cc: Ant Users List
Subject: RE: Backup before deploy

I have no idea what you are trying to say, but I'm glad I could help.
You're welcome.

-Rob A

> -----Original Message-----
> From: Bozorgdadeh, Afshin [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 22, 2005 9:57 AM
> To: Anderson, Rob (Global Trade)
> Subject: RE: Backup before deploy
> 
> Rob,
> When I grow up, I want to be politically correct "JUST LIKE YOU"  8)
> 
> Best Regards
> Afshin Bozorgzadeh
> >Fidelity Investments Brokerage Company FBCT ClearCase 
> Release Engineer
> 
> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 22, 2005 12:39 PM
> To: Ant Users List
> Subject: RE: Backup before deploy
> 
> You should setup sudo on the remote side to allow you to 
> execute the commands you need to run as the user you need to 
> run them as. 
> 
> The command in the ant sshexec task would look something like this:
> <sshexec host="somehost"
> ...
>       command="cd /path/to/somefiles ; sudo rm 
> ../archive.tar.gz ; sudo tar zcf ../archive.tar.gz * "/>
> 
> Check out the sudo manual...
> http://www.courtesan.com/sudo/
> 
> -Rob Anderson
> 
> 
> 
> > -----Original Message-----
> > From: keith wong [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 21, 2005 4:02 PM
> > To: user@ant.apache.org
> > Subject: Backup before deploy
> > 
> > Hello,
> > I need control remote host thru ssh to tar all backup file, 
> but I get 
> > into problem of "su - " command after ant <sshexec> in. I 
> not sure how 
> > to keep ssh session and process two steps command to 
> archive. Here is 
> > steps I need to make:
> >  1. SSH to remote.
> >  2. su to our user. 
> >  3. tar all backup and save it to privielge  restricted location 
> > allowed  from that "su"ed user.
> >  4. compress the tar to save space.
> >  
> >  Thank you for any input.
> >  
> >  Regards,
> >  Keith
> > 
> > 
> >             
> > __________________________________
> > Yahoo! FareChase: Search multiple travel sites in one click.
> > http://farechase.yahoo.com
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional 
> > commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to