Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3053

Regression: disabling/enabling user through add-user script removes all disabled users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta29
    • 3.0.0.Beta26
    • Scripts, Security
    • None
    • Hide

      1) add some enabled and disabled users to standalone/configuration/mgmt-users.properties:

      #admin=2a0923285184943425d1f53ddd58ec7a
      user=whateverPassword
      user2=whateverPassword
      #anotherUser=whateverPassword
      

      2) run add-user script and try to disable user user - user is disabled but admin and anotherUser are removed from standalone/configuration/mgmt-users.properties

      Show
      1) add some enabled and disabled users to standalone/configuration/mgmt-users.properties : #admin=2a0923285184943425d1f53ddd58ec7a user=whateverPassword user2=whateverPassword #anotherUser=whateverPassword 2) run add-user script and try to disable user user - user is disabled but admin and anotherUser are removed from standalone/configuration/mgmt-users.properties

      add-user script provides ability to enable/disable existing user. It uses commented lines with users as disabled user, e.g.:

      #admin=2a0923285184943425d1f53ddd58ec7a
      

      In case when any user is enabled/disabled through add-user script then all other disabled users are removed from given properties file.

              fjuma1@redhat.com Farah Juma
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: