Bug 444107
| Summary: | [RHEL4] userdel/usermod infinite loop with duplicate names in /etc/group or /etc/gshadow | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Andrew Hecox <ahecox> | ||||
| Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.6 | CC: | sgrubb, tao | ||||
| Target Milestone: | rc | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHBA-2008-0692 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 655088 (view as bug list) | Environment: | |||||
| Last Closed: | 2008-07-24 19:37:16 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: | |||||||
| Bug Depends On: | 240915 | ||||||
| Bug Blocks: | 655088 | ||||||
| Attachments: |
|
||||||
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0692.html |
Created attachment 303779 [details] update grpconv to update_entry function update grpconv to update_entry function all commands that call gr_next after running gr_update on a dup group are at risk. at least grpconv is. patch attached. groupadd - only update a non existant group, however broken nsswitch could make getgrnam return 0, and find_by_name would get a dup. but luckily the gr_next occurs before gr_update newusers -similar to groupadd grpunconv - needs to be fixed, can fix just like my attached patch, if it's desirable.