How to run Tomcat service as different user in RHEL 7

Solution Verified - Updated -


  • How do I run the Tomcat service as a different user in RHEL 7?
  • When I change TOMCAT_USER property in /etc/sysconfig/tomcat is has not effect.
  • How can I keep my custom user changes to the Tomcat systemd service file?


  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content