Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log-in as ROOT with ANT

 
Manish Hatwalne
Ranch Hand
Posts: 2591
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