Bug 434810
Summary: | lid is confused after specific lusermod changes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Milos Malik <mmalik> |
Component: | libuser | Assignee: | Miloslav Trmač <mitr> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.6 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-26 12:30:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Milos Malik
2008-02-25 16:44:52 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Thanks for your report. (lusermod -g) only changes the primary group ID; it can be used to change the group ID of the user to a different existing group. Because a group with the new group ID may already exist, lusermod cannot in general rename the group. (If you want to change a group ID of an existing group, use lgroupmod; lgroupmod will also update all users to use the new group ID.) Therefore, (lid) cannot show "testuser(gid=1567)". Arguably it could show "(gid=1567)" (with an empty group name) - but the situation is caused by an incorrect configuration and I don't think it's worth it to add a special-case code to lid to handle this case. Instead, lusermod in Fedora >= 9 will output a warning if the new group ID does not refer to an existing group. |