Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1062611 - add-user: '@' is not among non-alphanumeric characters during user name validatin
add-user: '@' is not among non-alphanumeric characters during user name valid...
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 low
: DR6
: EAP 6.3.0
Assigned To: Darran Lofthouse
Petr Kremensky
Russell Dickenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-07 08:25 EST by Petr Kremensky
Modified: 2014-06-28 11:27 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The `add-user` utility in previous versions of JBoss EAP 6 would display a misleading error message when an invalid username was entered. The messaged stated that a username must be alphanumeric, when in fact the utility had been modified to accept a subset of special symbols in usernames. The error message has been reconstructed to contain the list of acceptable symbols and users now see a more accurate error message when an invalid username is entered.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-28 11:27:05 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-3133 Major Resolved Misleading error message for add-user username requirements. 2017-07-20 15:05 EDT

  None (edit)
Description Petr Kremensky 2014-02-07 08:25:55 EST
Description of problem:
 User name should contain only alphanumeric characters, but I am able use '@' in user's name.

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

How reproducible:
 Always

Steps to Reproduce:
 1. Navigate into $EAP_HOME/bin directory 
 2. run: bin]$ ./add-user.sh aaa@aaa asdasd@2

Actual results:
Added user 'aaa@aaa' to file '/home/pkremens/devel/jboss-eap-6.2/standalone/configuration/mgmt-users.properties'
Added user 'aaa@aaa' to file '/home/pkremens/devel/jboss-eap-6.2/domain/configuration/mgmt-users.properties'

Expected results:
 * Error * 
JBAS015239: Only alpha/numeric usernames accepted.

Additional info:
 EAP is not complaining about aaa@aaa user
Comment 1 Permaine Cheung 2014-02-07 10:06:42 EST
Darran, can you please look into this or reassign if you're not the right person for this?
Comment 2 Darran Lofthouse 2014-03-18 14:22:26 EDT
After further investigation this is intended behaviour, a small subset of symbols are now accepted in the username.  I am updating the error message on an invalid username to reflect this.
Comment 5 Petr Kremensky 2014-03-31 01:52:15 EDT
Verified on EAP 6.3.0.DR6.
Comment 6 Scott Mumford 2014-04-23 21:17:38 EDT
Refactored release notes text and marked for inclusion in documentation.
Comment 7 sgilda 2014-05-12 16:07:03 EDT
Changed <literal></literal> tags in Doc Text to ticks (`) to fix Bug 1096865

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