[jboss-jira] [JBoss JIRA] (WFLY-3782) add-user.sh actually does not honor JBOSS_BASE_DIR

Claudio Miranda (JIRA) issues at jboss.org
Wed Aug 27 23:15:00 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996331#comment-12996331 ] 

Claudio Miranda commented on WFLY-3782:
---------------------------------------

You can use -sc option. The help says "Define the location the server config directory."
Sample: 

./add-user.sh  -u admin -p admin123@ -sc /jboss_domains/domain1/configuration/

> add-user.sh actually does not honor JBOSS_BASE_DIR
> --------------------------------------------------
>
>                 Key: WFLY-3782
>                 URL: https://issues.jboss.org/browse/WFLY-3782
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Scripts
>    Affects Versions: 8.1.0.Final
>         Environment: linux
>            Reporter: David Tonhofer
>            Assignee: Darran Lofthouse
>             Fix For: Awaiting Volunteers
>
>
> add-user.sh does not check whether the JBOSS_BASE_DIR points to another directory that the one which can be deduced from JBOSS_HOME assuming the default installation. This may not be what one wants, as one actually wants to update files:
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> JBOSS_BASE_DIR/configuration/mgmt-users.properties'
> instead of
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'
> JBOSS_HOME/standalone/configuration/mgmt-users.properties'



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list