The add-user script is not prompting when entering a username that already exists (to update a user). It automatically overwrites the existing user information. This is what I see when I enter the username "test", which already exists:
[ahoffer@ahoffer bin] $ ./add-user.sh What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a): Enter the details of the new user to add. Using realm 'ManagementRealm' as discovered from the existing property files. Username : test Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file. - The password should be different from the username - The password should not be one of the following restricted values {root, admin, administrator} - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s) Password :
Before I get asked for a password, I should see the following prompt for this existing user:
User 'test' already exists and is enabled, would you like to... a) Update the existing user password and roles b) Disable the existing user c) Type a new username
- blocks
-
JBEAP-9194 Show how to use the add-user script to update a management user
- Closed
- is cloned by
-
WFCORE-2877 The add-user script doesn't prompt when updating a user
- Resolved
- is incorporated by
-
JBEAP-11137 (7.1.0) Upgrade to WildFly Core to 3.0.0.Beta26
- Closed
- is related to
-
JBEAP-12003 Regression: disabling/enabling user through add-user script removes all disabled users
- Closed