This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

log-in as ROOT with ANT  RSS feed

Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!