Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2787

The add-user utility should relax the confirmation dialogues to support yes, y, no, n - incorrect entries should display suitable error and repeat the question.

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Trivial
    • 7.1.0.CR1
    • None
    • Security
    • None

    Description

      Answering 'y' to add-user leads to a "redo from start" instead of a plain "syntax error".

      [carlo@palantir bin]$ ./add-user.sh 
      
      Enter details of new user to add.
      Realm (ManagementRealm) : 
      Username : test
      Password : 
      Re-enter Password : 
      About to add user 'test' for realm 'ManagementRealm'
      Is this correct yes/no? y
      
      Enter details of new user to add.
      Realm (ManagementRealm) : 
      Username : test
      Password : 
      Re-enter Password : 
      About to add user 'test' for realm 'ManagementRealm'
      Is this correct yes/no? yes
      Added user 'test' to file '/home/carlo/work/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT/standalone/configuration/mgmt-users.properties'
      Added user 'test' to file '/home/carlo/work/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT/domain/configuration/mgmt-users.properties'
      

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: