Bug 968451 - User creation spoke should not allow root as a username
Summary: User creation spoke should not allow root as a username
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: All
unspecified
medium
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-29 18:13 UTC by Reartes Guillermo
Modified: 2014-01-30 22:06 UTC (History)
6 users (show)

Fixed In Version: anaconda-20.19-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 22:06:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot F19b RC4, showing the [not] created additional 'root' user (44.01 KB, image/png)
2013-05-29 18:13 UTC, Reartes Guillermo
no flags Details
anaconda.log (47.84 KB, text/plain)
2013-05-29 18:13 UTC, Reartes Guillermo
no flags Details
program.log (37.40 KB, text/plain)
2013-05-29 18:14 UTC, Reartes Guillermo
no flags Details
storage.log (102.42 KB, text/plain)
2013-05-29 18:14 UTC, Reartes Guillermo
no flags Details

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


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