Bug 1072364 - [QE] (6.2.2) Wrong error message from add-user utility
Summary: [QE] (6.2.2) Wrong error message from add-user utility
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR2
: EAP 6.2.3
Assignee: Chao Wang
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On: 1062592
Blocks: eap62-cp03-blockers
TreeView+ depends on / blocked
 
Reported: 2014-03-04 13:10 UTC by Petr Kremensky
Modified: 2014-06-09 12:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of: 1062592
Environment:
Last Closed: 2014-06-09 12:48:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Kremensky 2014-03-04 13:10:15 UTC
+++ This bug was initially created as a clone of Bug #1062592 +++

Description of problem:
 add-user utility is returning wrong error message for password without alphabetic character. Also password requirements noted in documentation are wrong:
- It can not be the same as the user name.
- It must contain at least 8 characters.
- *It must contain at least one alphanumeric character.*
- It must contain at least one digit.
- It must contain at least one non-alphanumeric symbol

Version-Release number of selected component (if applicable):
 EAP 6.2.0

How reproducible:
 Always

Steps to Reproduce:
 1. Navigate to $EAP_HOME/bin folder
 2. run: add-user.[sh|bat] admin 22222222

Actual results:
 * Error * 
JBAS015268: Password must have at least one alphanumeric character.

Expected results:
JBASxxxxxx: Password must have at least one alphabetic character.

Additional info:
 We have to fix also documentation [1] (see password description) and installer (which is now accepting password without any alphabetic character)

[1] - http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Administration_and_Configuration_Guide/index.html#Add-user_Command_Arguments

Comment 1 Permaine Cheung 2014-03-04 19:43:48 UTC
Darran, please sumbit the fix for 1062592 to 6.2.x when you have it ready. Thanks!

Comment 4 Petr Kremensky 2014-05-09 06:59:10 UTC
Verified on EAP 6.2.3.CR2.


Note You need to log in before you can comment on or make changes to this bug.