Bug 955219

Summary: Common user if created during installation has incorrect gid=0
Product: [Fedora] Fedora Reporter: Ondrej Hudlicky <ohudlick>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 19CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-22 19:50:33 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:

Description Ondrej Hudlicky 2013-04-22 14:55:37 UTC
Description of problem:
create common user during os installation 

Version-Release number of selected component (if applicable):
F19AlphaRC4

How reproducible:
probably always, tried once 

Steps to Reproduce:
1. during anaconda install create user (example: blah)
2. id blah 
3. grep blah /etc/passwd
  
Actual results:
2. uid=1000(blah) gid=0(root) groups=0(root)
3. blah:x:0:blah

Expected results:
uid=1000(blah) gid=1000(blah) groups=1000(blah)

Additional info:
likely a security issue
fix: edit /etc/passwd after installation
workaround: add users no earlier then at firstboot

Comment 1 Chris Lumens 2013-04-22 15:45:28 UTC
What version of anaconda is this?  F19 alpha RC4 doesn't mean anything to me.

Comment 2 Ondrej Hudlicky 2013-04-22 16:10:17 UTC
anaconda-0:19.20-1.fc19.x86_64

Comment 3 Chris Lumens 2013-04-22 19:50:33 UTC

*** This bug has been marked as a duplicate of bug 929204 ***