Bug 1063639

Summary: User password requirements are inaccurate
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: DocumentationAssignee: sgilda
Status: CLOSED CURRENTRELEASE QA Contact: Russell Dickenson <rdickens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: sgilda, smumford
Target Milestone: DR3   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 22508, Administration and Configuration Guide-6.3-1 Build Date: 03-02-2014 14:00:41 Topic ID: 22537-566529 [Latest]
Last Closed: 2014-06-28 15:25:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1063861    

Description Petr Kremensky 2014-02-11 07:28:00 UTC
Title: Add-user Command Arguments

Describe the issue:
Password requirements listed in documentation are following:
- 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

Suggestions for improvement:
 - since user name can contain only alphanumeric characters the user name and password can never be the same. 
 - requirement for alphabetic character in password is missing

Password requirements should be as following:
- It must contain at least 8 characters.
- It must contain at least one alphabetic character.
- It must contain at least one digit.
- It must contain at least one non-alphanumeric symbol

Additional information:
We should also update description of 'user' with something like:
- Only alphanumeric characters are allowed

Comment 1 sgilda 2014-02-11 13:16:14 UTC
I'll take this one.

Comment 2 sgilda 2014-02-11 13:52:40 UTC
When you type: bin/add-user.sh --help, under --password, it says: 
Password of the user. Should not be same as the username

I will create a separate issue for the add-user script.

Mofified this topic: Add-user Command Arguments [22537, rev: 588479]

It appears in the following guides:

14874, Administration and Configuration Guide, JBoss Enterprise Application Platform, 6.2

16868, Installation Guide, Red Hat JBoss Fuse Service Works, 6.1

22508, Administration and Configuration Guide, JBoss Enterprise Application Platform, 6.3

22586, Installation Guide, Red Hat JBoss Fuse Service Works, 6

Comment 3 Petr Kremensky 2014-02-11 14:56:05 UTC
You're right I forgot on help message, can you please add the dependency on the BZ you'll create into BZ1063861 so I can track it all in one place. Thanks.

Comment 4 sgilda 2014-02-11 15:28:06 UTC
Created Bugzilla 1063888 for the add-user script usage.

Comment 6 Petr Kremensky 2014-02-27 09:25:52 UTC
There is one more place in installation guide to be fixed
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Installation_Guide/index.html#Run_the_JBoss_Enterprise_Application_Platform_Installer1

see description of "Section B.4, “Administrative User Creation”"

Shall I create a new BZ only for installation guide and close this one, or can we cover this here?

Comment 7 sgilda 2014-02-27 13:04:41 UTC
Normally I would say to create a new bug for tracking purposes. But, in the interest of expediency, I just went ahead and fixed it. :-)

Run the JBoss EAP Installation Program [26728, rev: 606701]

I will move this to ON_QA when the Installation Guide is rebuilt.

Comment 9 Petr Kremensky 2014-03-11 06:51:06 UTC
Verified during EAP 6.3.0.DR2 testing cycle