Bug 505033 - useradd cannot create an user with UID above 2147483647
Summary: useradd cannot create an user with UID above 2147483647
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: shadow-utils
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-10 13:06 UTC by Milos Malik
Modified: 2010-03-30 08:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 08:13:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0209 0 normal SHIPPED_LIVE shadow-utils bug fix update 2010-03-29 12:28:50 UTC

Description Milos Malik 2009-06-10 13:06:55 UTC
Description of problem:
useradd running on i386 or ppc64 rejects UIDs above 2147483647. Works well on ia64, x86_64 and s390x.

Version-Release number of selected component (if applicable):
shadow-utils-4.0.17-14.el5

How reproducible:
on i386 and ppc64 machines always

Steps to Reproduce:
# useradd -u 4294967293 biguser3
useradd: invalid numeric argument '4294967293'
# echo $?
3
# grep biguser3 /etc/passwd
# grep biguser3 /etc/group
  
Actual results:
new user is not created

Expected results:
new user gets created

Additional info:

Comment 1 RHEL Program Management 2009-06-10 13:09:30 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 2 Milos Malik 2009-06-10 13:17:51 UTC
Tested on all architectures on both RHEL-4.8 and RHEL-5.3. RHEL-4.8 does not suffer from this issue.

Comment 4 Peter Vrabec 2009-06-10 15:01:35 UTC
easy fix, basically it would be nice to fix it together with #487575 and #484040.

Comment 9 errata-xmlrpc 2010-03-30 08:13:38 UTC
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-2010-0209.html


Note You need to log in before you can comment on or make changes to this bug.