Bug 968451 - User creation spoke should not allow root as a username
User creation spoke should not allow root as a username
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
20
x86_64 All
unspecified Severity medium
: ---
: ---
Assigned To: David Shea
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 14:13 EDT by Reartes Guillermo
Modified: 2014-01-30 17:06 EST (History)
6 users (show)

See Also:
Fixed In Version: anaconda-20.19-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-30 17:06:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Reartes Guillermo 2013-05-29 14:13:05 EDT
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 14:13:40 EDT
Created attachment 754507 [details]
anaconda.log
Comment 2 Reartes Guillermo 2013-05-29 14:14:05 EDT
Created attachment 754508 [details]
program.log
Comment 3 Reartes Guillermo 2013-05-29 14:14:27 EDT
Created attachment 754509 [details]
storage.log

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