Re: execute command as root

2004-04-21 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > AFAIK, you cannot pipe a password to su. I think > this > is for security reasons. You're right. What about the rest of it? -Matt __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25ยข

RE: execute command as root

2004-04-21 Thread Anderson, Rob (Global Trade)
You should setup a sudo permision and execute the command via sudo. -Rob Anderson > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 10:02 AM > To: Ant Users List > Subject: Re: execute command as root > > >

Re: execute command as root

2004-04-21 Thread stevecanfield
AFAIK, you cannot pipe a password to su. I think this is for security reasons. --- Matt Benson <[EMAIL PROTECTED]> wrote: > Don't you need to pipe a password to su? You could > do > that using exec's inputstring (or to redirect from a > file, input) attribute... or for another idea, you > coul