Bug 968451

Summary: User creation spoke should not allow root as a username
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
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:06:11 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:
Attachments:
Description Flags
screenshot F19b RC4, showing the [not] created additional 'root' user
none
anaconda.log
none
program.log
none
storage.log none

Description Reartes Guillermo 2013-05-29 18:13:05 UTC
Created attachment 754506 [details]
screenshot F19b RC4, showing the [not] created additional 'root' user

Description of problem:

While installing, one can specify the username 'root' as a valid username in
the 'User Creation' screen.

I setup 'root01' as the root password in 'Root Password' screen and
then i setup and user 'root' with 'root13' pas the password in 'User Creation'
screen.

Anaconda does report that the user was created, as shown in the screenshot.
The user was not created. (Of course).


Version-Release number of selected component (if applicable):
F19b RC4 (19.30-1)

How reproducible:
always

Steps to Reproduce:
1. Setup anaconda and start installing.
2. Setup root password
3. Create a 'root' user

Actual results:
'root' username is accepted, reported as created.
It is neither created nor reported as having not being created nor
any error.

Expected results:
'root' as an username in 'User Creation' screen should be rejected, since
it is an invalid username for that screen.

Additional info (anaconda.log):

15:03:45,437 INFO anaconda: Creating users
15:03:45,438 INFO anaconda: created new libuser.conf at /tmp/libuser.GaK0wC with instPath="/mnt/sysimage"
15:03:45,735 ERR anaconda: User root already exists, not creating.

Comment 1 Reartes Guillermo 2013-05-29 18:13:40 UTC
Created attachment 754507 [details]
anaconda.log

Comment 2 Reartes Guillermo 2013-05-29 18:14:05 UTC
Created attachment 754508 [details]
program.log

Comment 3 Reartes Guillermo 2013-05-29 18:14:27 UTC
Created attachment 754509 [details]
storage.log