Bug 696639 - Can't create first user with custom uid/gid
Summary: Can't create first user with custom uid/gid
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: firstboot
Version: 14
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Martin Gracik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 13:50 UTC by Olivier Mengué
Modified: 2013-07-04 12:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-14 14:47:03 UTC
Type: ---


Attachments (Terms of Use)

Description Olivier Mengué 2011-04-14 13:50:52 UTC
Description of problem:

During a clean install of Fedora 14 using the standard interactive setup it is not possible to create the first user ("Create User" scree) using a custom uid/gid.

I want to create the initial user with a uid=1024/gid=1024 because that those numbers are my sttings on a NFS mount.

Version-Release number of selected component (if applicable):
Fedora 14.


How reproducible:
Always.

Steps to Reproduce:
1. Launch Fedora setup on a new system
2. On the "Create User" screen, enter the username "toto"
3. Click "Advanced..." (as suggested by the text), system-config-users
4. In system-config-users, create user "toto", uid=1024, gid=1024
5. Close system-config-users
6. Click "Forward"
  
Actual results:
- The setup asks: "A home directory for user toto already exists. Would you like to continue, making the new user the owner of this directory and all its contents? Doing so
- When clicking "no", the user is blocked on the "Create User" screen (not possible to skip the screen)
- When clicking "yes", a user "toto" is created with uid=500,gid=500 overriding the uid/gid selected by the user.

Expected results:
The setup should detect that the given user has already been created in system-config-users and not try to create it anyway.
The password fields should not be required if the user has been created in system-config-users.

Additional info:

The same problem happens when the user has been on the screen after "Create User" ("Date and Time") and clicks on the "Back" button: the user must delete the previously created user with system-config-users before clicking on "Forward".

The workaround is to create

Comment 1 Martin Gracik 2011-04-14 14:47:03 UTC
If you create a user in the advanced window, you should leave the text entries in the create user screen empty.


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