Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 929204 - Anaconda creates group for user with GID 0
Summary: Anaconda creates group for user with GID 0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 955219 960565 (view as bug list)
Depends On:
Blocks: fedora19rtt
TreeView+ depends on / blocked
 
Reported: 2013-03-29 13:44 UTC by Ľuboš Kardoš
Modified: 2016-08-01 01:26 UTC (History)
10 users (show)

Fixed In Version: pykickstart-1.99.27-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-24 21:17:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/etc/group (517 bytes, application/octet-stream)
2013-03-29 13:48 UTC, Ľuboš Kardoš
no flags Details
/etc/passwd (1.19 KB, application/octet-stream)
2013-03-29 13:49 UTC, Ľuboš Kardoš
no flags Details
anaconda.log (12.66 KB, text/x-log)
2013-03-29 13:49 UTC, Ľuboš Kardoš
no flags Details
anaconda.packaging.log (706.75 KB, text/x-log)
2013-03-29 13:50 UTC, Ľuboš Kardoš
no flags Details
anaconda.program.log (39.39 KB, text/x-log)
2013-03-29 13:50 UTC, Ľuboš Kardoš
no flags Details

Description Ľuboš Kardoš 2013-03-29 13:44:36 UTC
Description of problem:
Create user "test" during installation. Anaconda for this user creates group "test" with GID 0, which conflicts with group "root" also with GID 0. So when you login with user "test", command "groups" prints that you belongs to group "root" instead of group "test".


Version-Release number of selected component (if applicable):
F19-Alpha-TC3
anaconda-19.14

How reproducible:
always


Steps to Reproduce:
1. Start an installation and proceed to the "CREATE USER" spoke.
2. Fill out the form and confirm: 
     Full name: test 
     Username: test 
     Make this user administrator: unchecked
     Require a password to use this account: checked
     Password: redhat
     Confirm password: redhat
3. Finish the installation.
  
Actual results:
After reboot to the newly installed system, you can see in /etc/group following:
root:x:0:
...
test:x:0:test

Expected results:
GID for group "root" and "test" must not be the same.


Additional info:

Comment 1 Ľuboš Kardoš 2013-03-29 13:48:18 UTC
Created attachment 718081 [details]
/etc/group

Comment 2 Ľuboš Kardoš 2013-03-29 13:49:13 UTC
Created attachment 718082 [details]
/etc/passwd

Comment 3 Ľuboš Kardoš 2013-03-29 13:49:45 UTC
Created attachment 718083 [details]
anaconda.log

Comment 4 Ľuboš Kardoš 2013-03-29 13:50:17 UTC
Created attachment 718085 [details]
anaconda.packaging.log

Comment 5 Ľuboš Kardoš 2013-03-29 13:50:43 UTC
Created attachment 718086 [details]
anaconda.program.log

Comment 6 Chris Lumens 2013-04-01 20:01:17 UTC
This might require work outside pykickstart - not sure yet.  At the least, pykickstart should be defaulting to None instead of 0.

Comment 7 Chris Lumens 2013-04-22 19:50:33 UTC
*** Bug 955219 has been marked as a duplicate of this bug. ***

Comment 8 Chris Lumens 2013-05-08 13:37:16 UTC
*** Bug 960565 has been marked as a duplicate of this bug. ***

Comment 9 Brian Lane 2013-05-24 21:17:55 UTC
This is in the current stable version.


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