1 Reply Latest reply on Aug 19, 2013 4:17 AM by erasmo2 marciano2

    add-user.sh does not modify the password for existing user.

    Robert Monical Newbie

      I've tried it in interactive and non-interactive mode. The non-interactive result is shown:

       

      Roberts-MacBook-Pro:bin robertmonical$ ./add-user.sh manager changed

       

      * Error *

      JBAS015243: The user 'manager' already exists in at least one properties file.

       

      I have searched everywhere in http://localhost:9990/console and cannot find a user admin utility.

      It appears to me that there is no way to change a user's password. I can manually delete the user from the properties file(s) and then add it again.  Is this true?

      This is odd enough to me that I thought I would ask the question before logging an issue.

       

      The documentation here appears to be incorrect about the ability to modify a password:

      https://docs.jboss.org/author/display/AS71/add-user+utility

       

      There was a related 7.0.x discussion in 2012 that implied user management was in the console and it apparently suggested a modification to the stanalone.xml file. Mine was different enough I did not poke around. This is my management tag in my standalone.xml

      -<management>

      -<security-realms>-

      <security-realm name="ManagementRealm">-

      <authentication>

      <properties relative-to="jboss.server.config.dir" path="mgmt-users.properties"/>

      </authentication></security-realm>

      -<security-realm name="ApplicationRealm">-

      <authentication>

      <properties relative-to="jboss.server.config.dir" path="application-users.properties"/>

      </authentication></security-realm></security-realms>-

      <management-interfaces>-

      <native-interface security-realm="ManagementRealm"><socket-binding native="management-native"/></native-interface>-

      <http-interface security-realm="ManagementRealm"><socket-binding http="management-http"/></http-interface></management-interfaces>

      </management>