[
https://issues.jboss.org/browse/AS7-2787?page=com.atlassian.jira.plugin.s...
]
Darran Lofthouse commented on AS7-2787:
---------------------------------------
What would you prefer the flow to be?
I can add support for 'y' or do you think I should just keep repeating "Is
this correct yes/no?" until they say "no"?
add-user.sh is too hexed when it doesn't get the right cheese
-------------------------------------------------------------
Key: AS7-2787
URL:
https://issues.jboss.org/browse/AS7-2787
Project: Application Server 7
Issue Type: Bug
Components: Security
Reporter: Carlo de Wolf
Assignee: Darran Lofthouse
Priority: Trivial
Answering 'y' to add-user leads to a "redo from start" instead of a
plain "syntax error".
{noformat}
[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'
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira