Bug 484040

Summary: useradd does not set ownership correctly when creating new user with UID=4294967295
Product: Red Hat Enterprise Linux 4 Reporter: Milos Malik <mmalik>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED WONTFIX QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: ohudlick
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: 2012-06-20 15:56:50 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 2009-02-04 13:41:06 UTC
Description of problem:
useradd has problems when creating new user with UID=4294967295, but has no problems when creating new user with UID which is smaller.

Version-Release number of selected component (if applicable):
RHEL4-U8-re20090203.nightly
shadow-utils-4.0.3-66.RHEL4

How reproducible:
always

Steps to Reproduce:
# useradd -u 4294967295 biguser5
# ls -ld /home/biguser5
drwx------  2 root root 4096 Feb  4 08:27 /home/biguser5
# ls -l /var/spool/mail/biguser5 
-rw-rw----  1 root mail 0 Feb  4 08:27 /var/spool/mail/biguser5
# userdel -r biguser5
userdel: warning: /var/spool/mail/biguser5 not owned by biguser5, not removing
userdel: /home/biguser5 not owned by biguser5, not removing
# echo $?
12
# useradd -u 4294967294 biguser4
# ls -ld /home/biguser4
drwx------  2 biguser4 biguser4 4096 Feb  4 08:26 /home/biguser4
# ls -l /var/spool/mail/biguser4 
-rw-rw----  1 biguser4 mail 0 Feb  4 08:26 /var/spool/mail/biguser4
# userdel -r biguser4
# echo $?
0
  
Actual results:
Home directory of biguser5 is not owned by biguser5. Mailbox file of biguser5 is not owned by biguser5.

Expected results:
Home directory of biguser5 is owned by biguser5. Mailbox file of biguser5 is owned by biguser5.

Comment 6 RHEL Program Management 2010-10-22 18:52:19 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 7 Jiri Pallich 2012-06-20 15:56:50 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.