How to create a "sudo" user who can start/stop/restart tomcat6 service ?

Solution Verified - Updated -

Issue

  • Is there any way to start, stop and restart tomcat6 service as normal user?
  • How to create a "sudo" user who can start/stop/restart tomcat6 service?
  • Our developers would like to start / stop Tomcat server by themselves without depending on system administrators with root privileges to do it for them. Is that possible?

Environment

  • Red Hat Enterprise Linux (RHEL) 6.5
    • Tomcat 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.