Bug 198920
Summary: | useradd UID/GID overflow, wrong return code | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Josef Kubin <jkubin> | ||||||
Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-08-04 13:35:34 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: | |||||||||
Attachments: |
|
Description
Josef Kubin
2006-07-14 16:23:46 UTC
Created attachment 132596 [details]
fix candidate
I have tested "useradd", and bug looks fixed. I found another bug inside of "usermod": useradd -u 4294967295 -M delete;grep del /etc/passwd;usermod -g 4294967295 delete;grep del /etc/passwd;userdel delete; delete:x:4294967295:4294967295::/home/delete:/bin/bash delete:x:2147483647:4294967295::/home/delete:/bin/bash UID is influenced by usermod, but I wanted to influence GID ... Created attachment 133142 [details]
another variant, from upstream
|