ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Robert H - MWT" <Anderson.Rob...@menlolog.com>
Subject RE: Changing User for task
Date Tue, 14 Oct 2003 22:00:44 GMT
Ant does not have the ability to do this currently. You could probably
accomplish what you are trying to do with the <exec> task and some sudo
(http://www.courtesan.com/sudo/) permissions on the local machine. I hope
this helps.

-Rob Anderson

-----Original Message-----
From: James Kojo [mailto:jkojo@bluemartini.com] 
Sent: Tuesday, October 14, 2003 2:51 PM
To: user@ant.apache.org
Subject: Changing User for task



I'd like to run certain ant tasks as root. Is there a way to to have ant 
su to another user before it executes a specific set of tasks?

Thanks,

James



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message