aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes log-in as ROOT with ANT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "log-in as ROOT with ANT " Watch "log-in as ROOT with ANT " New topic
Author

log-in as ROOT with ANT

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

I have ant script, that does several things and starts the Tomcat server on port 80 with a shell script. Now all other things require ANT, Java etc in path, so I need to run them as user XYZ which keeps them in path. However, the Unix shell script requires ROOT permissions to start the server on port 80 (earlier we were running it on port 8080, so everything was fine), so I was wondering if it's possible for me to log-in as ROOT (with password of course) with ANT script. How do I do this?

- Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log-in as ROOT with ANT