Re: ant and sudo

2008-11-12 Thread Steve Loughran
Hendrik Maryns wrote: Steve Loughran schreef: The way we do root level access is to ssh in to localhost and run stuff as root there. you can either set up the command with the relevant (property driven) password, How would I do that? I need something similar for . Right now I use a plain p

Re: ant and sudo

2008-11-12 Thread Hendrik Maryns
Steve Loughran schreef: > The way we do root level access is to ssh in to localhost and run stuff > as root there. you can either set up the command with the relevant > (property driven) password, How would I do that? I need something similar for . Right now I use a plain password in the task,

Re: ant and sudo

2008-11-12 Thread Steve Loughran
Tom Robinson wrote: I need to run an "exec" task with superuser privileges but I've run into two problems with two different approaches: 1) Running "sudo ant" doesn't give me access to my user environment variables. 2) If I do /> it works, but only if I've entered my password for sudo recen

ant and sudo

2008-11-12 Thread Tom Robinson
I need to run an "exec" task with superuser privileges but I've run into two problems with two different approaches: 1) Running "sudo ant" doesn't give me access to my user environment variables. 2) If I do > it works, but only if I've entered my password for sudo recently... I can't ente