Bug 177125

Summary: useradd fails when creating users with capitals in username
Product: Red Hat Enterprise Linux 3 Reporter: Justin Marie <jmarie>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-18 12:46:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Marie 2006-01-06 15:22:32 UTC
Description of problem:
When creating a user via 'useradd', you cannot create a user with an uppercase
letter.  'useradd' fails with "useradd: invalid user name <username>"  For
instance, this fails for my attempt at using a username with mixed alpha and
numeric characters (A012345).

Version-Release number of selected component (if applicable):
shadow-utils-4.0.3-25.RHEL3

How reproducible:
run 'useradd' with a username that has a capital letter

Steps to Reproduce:
1.useradd A012345
2.
3.
  
Actual results:
Fails with message "useradd: invalid user name <username>"

Expected results:
Create user account

Additional info:
This but was reported in RH9 Bug 89677

Comment 1 Peter Vrabec 2006-01-18 12:46:20 UTC
This problem is going to be fixed in next update(U7) in shadow-utils-4.0.3-26.RHEL3