Re: sudo permissions with scp

2008-04-02 Thread Krzysieq
I've played around with sudo in something more or less similar. You might want to execute something like bash -c "sudo your_stuff" rather than the command itself. Don't want to discourage You, but in the end I dropped the scp task and started doing a simple exec with an ssh command in it. Don't kn

Re: Sudo

2006-05-25 Thread Robert Koberg
Hi, (I might have missed this suggestion) Why not just put a script or ant build on the remote machine? Then call that from Ant using sshexec. best, -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Sudo

2006-05-25 Thread saket
-Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 10:36 AM To: Ant Users List Subject: RE: Sudo You can configure sudo to allow you to run commands without entering a password. This is probably your best option. See the sudo

RE: Sudo

2006-05-25 Thread Anderson, Rob (Global Trade)
gt; To: user@ant.apache.org > Subject: RE: Sudo > > ssh task doesn't have such an attribute. You either have to > work with a combination of Ant and Expect or get your > Sysadmin to grant you sudoless access like I did. > > Original Message Follows > From: &q

RE: Sudo

2006-05-23 Thread Res Pons
ssh task doesn't have such an attribute. You either have to work with a combination of Ant and Expect or get your Sysadmin to grant you sudoless access like I did. Original Message Follows From: "Venkatesh Vijayakumar04" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users Li