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 affected.
  • How can I keep my custom user changes to the Tomcat systemd service file?
  • How to run tomcat service through a different user?


  • Red Hat Enterprise Linux (RHEL) 7
    • tomcat

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