Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3508

add-user.sh exits with status code 0 when password complexity fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 9.0.0.Alpha1
    • 8.1.0.Final
    • Management
    • None

      Description from Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1104730

      add-user.sh exists with status code 0 when the password complexity check fails.  This should exit with status code 1 instead.
      
      Version-Release number of selected component (if applicable):
      6.2.0
      
      How reproducible:
      ./add-user.sh -u derp -p 1234; echo $?
      
      Actual results:
      0
      
      Expected results:
      1
      

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: