How to run Tomcat service as different user in RHEL 7
Issue
- 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?
Environment
- Red Hat Enterprise Linux (RHEL) 7
- tomcat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.