This content has been marked as final.
Show 3 replies
-
2. Re: add-user.sh (or add-user.bat) does not allow username to match password
davidj Jul 1, 2013 12:17 PM (in response to jaikiran)Thanks.
-
3. Re: add-user.sh (or add-user.bat) does not allow username to match password
dlofthouse Jul 1, 2013 12:29 PM (in response to davidj)Alternatively just look at how the hash is generated and generate it yourself once and just copy and paste it into the properties file.
From the base of your JBoss installation: -
java -cp ./modules/system/layers/base/org/jboss/sasl/main/jboss-sasl-1.0.3.Final.jar org.jboss.sasl.util.UsernamePasswordHashUtil {username} ManagementRealm {password}
This will generate the line to go into the mgmt-users.properties.