Bug 965543

Summary: Username created through Full name doesn't check username requirements
Product: [Fedora] Fedora Reporter: Martin Banas <mbanas>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 19CC: anaconda-maint-list, awilliam, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-20.19-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-30 22:05:04 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: 920667    
Attachments:
Description Flags
screenshot
none
anaconda.log
none
ifcfg.log
none
packaging.log
none
program.log
none
screenshot.png
none
storage.log
none
storage.state
none
syslog none

Description Martin Banas 2013-05-21 10:51:12 UTC
Created attachment 750983 [details]
screenshot

Description of problem:
'Full name' doesn't check username requirements, it's possible to create username 'j/ohn' and similar, when using "Full name"

Version-Release number of selected component (if applicable):
Fedora-19-Beta-RC2
anaconda-19.28

How reproducible:
always

Steps to Reproduce:
1. Start text mode installation
2. Go to "Create user"
3. Select Full name
4. Write j/ohn or similar (invalid) username

Actual results:
Anaconda doesn't take requirements for username when creating username from "Full name"

Expected results:
Anaconda should not allow invalid usernames, like 'j/ohn'.

Additional info:

Comment 1 Martin Banas 2013-05-21 10:52:11 UTC
Created attachment 750984 [details]
anaconda.log

Comment 2 Martin Banas 2013-05-21 10:52:16 UTC
Created attachment 750985 [details]
ifcfg.log

Comment 3 Martin Banas 2013-05-21 10:52:21 UTC
Created attachment 750986 [details]
packaging.log

Comment 4 Martin Banas 2013-05-21 10:52:26 UTC
Created attachment 750987 [details]
program.log

Comment 5 Martin Banas 2013-05-21 10:52:31 UTC
Created attachment 750988 [details]
screenshot.png

Comment 6 Martin Banas 2013-05-21 10:52:42 UTC
Created attachment 750989 [details]
storage.log

Comment 7 Martin Banas 2013-05-21 10:52:52 UTC
Created attachment 750990 [details]
storage.state

Comment 8 Martin Banas 2013-05-21 10:52:58 UTC
Created attachment 750991 [details]
syslog

Comment 9 tolarewa 2013-05-29 15:26:14 UTC
patch pushed

Comment 10 Adam Williamson 2013-05-30 02:32:05 UTC
Pushed where? I don't see this in the anaconda master commit logs, unless it has a weird commit message - I looked for commits referencing this bug ID or with 'user' in their commit message...

Comment 11 tolarewa 2013-05-30 13:12:28 UTC
*patch posted to anaconda for review