Bug 929204

Summary: Anaconda creates group for user with GID 0
Product: [Fedora] Fedora Reporter: Ľuboš Kardoš <lkardos>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bcl, clumens, g.kaviyarasu, jonathan, jorton, mkolman, ohudlick, Paul, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pykickstart-1.99.27-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 21:17:55 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
/etc/group
none
/etc/passwd
none
anaconda.log
none
anaconda.packaging.log
none
anaconda.program.log none

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.