[jboss-jira] [JBoss JIRA] (WFLY-9133) Wildfly 10.1.0 add-user command

Bobby Bassman (JIRA) issues at jboss.org
Tue Jul 25 18:03:00 EDT 2017


Bobby Bassman created WFLY-9133:
-----------------------------------

             Summary: Wildfly 10.1.0 add-user command 
                 Key: WFLY-9133
                 URL: https://issues.jboss.org/browse/WFLY-9133
             Project: WildFly
          Issue Type: Bug
          Components: ConfigAdmin
    Affects Versions: 10.1.0.Final
         Environment: Windows 10 64 bit
Wildfly 10.1.0
            Reporter: Bobby Bassman
            Assignee: Thomas Diesler


If Wildfly 10 does not initially have the 'admin' user. It must be created using the 'add-user' command line. When the command ('add-user') is used, without any warning, it may update the property files belonging to a different Jboss installation, rendering that installation broken.

This is because 'add-user' relies on environment variable 'JBOSS_HOME' - which may be set to a JBoss installation other than the Wildfly installation to which the 'add-user' command applies.

It appears that 'add-user.bat' has some code to detect this scenario, but it didn't work.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list