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_USERproperty in/etc/sysconfig/tomcatis has not effect. - How can I keep my custom user changes to the Tomcat systemd service file?
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
