How do I change the JBoss EAP7 user or group for an rpm install?
Issue
Red Hat Enterprise Linux 6 (systemv)
/etc/rc.d/init.d/eap7-standalonehas the JBoss user and group hard coded:
#wildfly will run as user jboss
WILDFLY_USER="jboss"
#wildfly will run as group jboss
WILDFLY_GROUP="jboss"
-
There are no options to configure this in
/etc/sysconfig/eap7-standalone. -
When the user or group are changed directly in
/etc/rc.d/init.d/eap7-standalone, initial logs are created as the custom user/group, but uponlogrotate, everything is changed tojboss:jbossownership, and any.xmlfile that is modified throughjboss.clior the management console getsjboss:jbossownership.
Red Hat Enterprise Linux 7 (systemd)
Environment
- JBoss Enterprise Application Platform (EAP) 7
- Red Hat Enterprise Linux 6 (
systemv) - Red Hat Enterprise Linux 7 (
systemd)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.