Hide Forgot
Description of problem: Local users specified with "user" directives in kickstarts always get personal groups created and assigned to them. One can use "--groups" to add them to supplemental groups, but not change their primary GIDs. A parameter that lets one choose either a standard group or a group specified via a "group" command would be useful to that end. Version-Release number of selected component (if applicable): anaconda-15.20-1.fc15
What if you specify the following in your kickstart file: group --name=username --gid=<whatever> user --name=username <other options here>
(In reply to comment #1) > What if you specify the following in your kickstart file: > > group --name=username --gid=<whatever> > user --name=username <other options here> What I mean is that there is currently no way to set a new user's GID to anything other than that of a group whose name matches that of the user. For instance, I can't say that "this user's primary group should be the stock 'users' group instead of a brand new one." In your suggestion above do you mean to replace <whatever> with 100 in that case? If so, won't that create a second name for that group?
Oh, your goal is to avoid the creation of the special user-specific group entirely?
(In reply to comment #3) > Oh, your goal is to avoid the creation of the special user-specific group > entirely? Yes, or at the very least to make it so it isn't the user's primary group.
You should be able to do this with current anaconda/pykickstart now by using user --gid=. This is in rawhide now, so F19 alpha and later.