Can each configuration under a single JBoss server installation be started with a different user account?

Solution Verified - Updated -

Issue

  • We need to ensure that applications do not have more privileges than they need
  • Running JBoss applications as separate service accounts
  • Can we run each JBoss server configuration using a different service account?

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3
  • Single JBoss installation with multiple configurations under $JBOSS_HOME/server/
  • Each configuration under $JBOSS_HOME/server/ being started using a different operating system user or service account
    # export JBOSS_HOME=/opt/jboss/jboss-eap-4.3
    # su jbossSvr1
    # cd $JBOSS_HOME/bin
    # ./run.sh -c production1
    # su jbossSvr2
    # cd $JBOSS_HOME/bin
    # ./run.sh -c production2
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.