# General configuration for the init.d scripts,
# not necessarily for JBoss AS itself.
# Path to JBoss EAP Installation
JBOSS_HOME=/opt/redhat/jboss-eap-6.3
# The username who should own the process.
#
JBOSS_USER=jboss
# The amount of time to wait for startup
#
STARTUP_WAIT=30
# The amount of time to wait for shutdown
#
SHUTDOWN_WAIT=30
# Location to keep the console log
#
JBOSS_CONSOLE_LOG=/var/log/jboss-as/console.log
# JBoss configuration file
JBOSS_CONFIG=standalone.xml
# Public IP Address where JBoss will listen
JBOSS_PUB_BIND=192.168.122.65
# Management IP Address where JBoss will listen
JBOSS_MGMT_BIND=192.168.122.65

-bash-4.2$ createuser -d -l -P --interactive NEW_DB_USER
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n