How do I change the JBoss EAP7 user or group for an rpm install?

Solution Unverified - Updated -

Issue

Red Hat Enterprise Linux 6 (systemv)

  • /etc/rc.d/init.d/eap7-standalone has 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 upon logrotate, everything is changed to jboss:jboss ownership, and any .xml file that is modified through jboss.cli or the management console gets jboss:jboss ownership.

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.

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