Bug 550732 - useradd does not allow usernames with one or more capital letters to be created
Summary: useradd does not allow usernames with one or more capital letters to be created
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-27 05:10 UTC by cpg
Modified: 2010-01-04 12:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-04 12:22:22 UTC
Type: ---


Attachments (Terms of Use)

Description cpg 2009-12-27 05:10:16 UTC
Description of problem:

# useradd -g users -c testuser -p dsfdsfdadsf Testuser
useradd: invalid user name 'Testuser'

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

shadow-utils-4.1.4.2-1.fc12.x86_64

How reproducible:

always

Steps to Reproduce:
1. useradd -g users -c testuser -p dsfdsfdadsf Testuser
2.
3.
  
Actual results:

useradd: invalid user name 'Testuser'

Expected results:

the user be created

Additional info:

system-config-users does allow capital letters
firstboot allows users with capital letters

it am not sure what the solution is, but it's not very consistent

it appears that this is fixed in useradd in rawhide?

Comment 1 Peter Vrabec 2010-01-04 12:22:22 UTC
I'm sorry for this bug. I have marked shadow-utils-4.1.4.2-2.fc12 as stable so it should be available soon.


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