Description of problem: The add-user.sh script has been updated in EAP. The installer validation is no longer consistent with the restrictions of add-user.sh. In particular, the add-user.sh allows the following special characters in the username: , . / = @ \ While the installer does not. After this inconsistency is fixed, a new check to ensure that the username != password must be introduced. How reproducible: Always Steps to Reproduce: 1. Attempt to create a user named hi@hi Actual results: Installation cannot continue with such a user name. Expected results: Installation proceeds.
I modified the regular expression to allow the new characters, , . / = @ \. Previously the regular expression validator was allowing usernames to contain '_', as well but this has since been changed. In addition a new validator is used to prevent the password and username from matching.