| Summary: | RFE: Support changing user GIDs with kickstart user directives | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Garrett Holmstrom <gholms> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anaconda-maint-list, jonathan, 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-16 19:46:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Garrett Holmstrom
2011-02-24 05:48:08 UTC
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. |