Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1062592 - [QE] (6.3.0) Wrong error message from add-user utility
[QE] (6.3.0) Wrong error message from add-user utility
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity medium
: DR6
: EAP 6.3.0
Assigned To: Darran Lofthouse
Petr Kremensky
Russell Dickenson
:
Depends On:
Blocks: 1063861 1072364
  Show dependency treegraph
 
Reported: 2014-02-07 06:39 EST by Petr Kremensky
Modified: 2014-06-28 11:28 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An error message given by the CLI `add-user` utility has been modified in this release of JBoss EAP 6 to prevent confusion. In previous versions of the product, an error message stating that user passwords were required to contain at least one _alphanumeric_ character was shown if the password entered contained only numeric characters. In this release the relevant error message now states that numeral-only passwords must contain at least one _alphabetic_ character.
Story Points: ---
Clone Of:
: 1072364 (view as bug list)
Environment:
Last Closed: 2014-06-28 11:28:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Kremensky 2014-02-07 06:39:19 EST
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 3 Petr Kremensky 2014-03-31 02:00:56 EDT
Verified on EAP 6.3.0.DR6.
Comment 4 Scott Mumford 2014-04-23 20:34:32 EDT
Reformatted release notes text and marked for inclusion in documentation.
Comment 5 sgilda 2014-05-12 20:06:11 EDT
Replaced <literal> and <emphasis> tags to fix bug 1096865

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