Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2010:0209 - Bug Fix Advisory
Issued:
2010-03-30
Updated:
2010-03-30

RHBA-2010:0209 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

shadow-utils bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated shadow-utils package that fixes several bugs is now available.

Description

The shadow-utils package includes programs for converting UNIX password
files to the shadow password format, as well as tools for managing user
and group accounts.

The updated shadow-utils package fixes the following bugs:

  • shadow-utils package updates would overwrite the /etc/default/useradd

directory. This would cause site configuration settings to be lost. Updates
no longer overwrite the /etc/default/useradd directory, and site
configuration changes are maintained. (BZ#510102)

  • the newusers utility allows a batch of new users to be created and

updated. The utility was not checking the range of generated UIDs (user
identifiers) or GIDs (group identifiers). When used on AMD64 and Intel 64
systems, identifiers could be negative numbers outside the valid range of
500 to 60,000. The newusers utility now checks the range of generated UIDs
and GIDs so that they do not appear outside the valid range.
(BZ#306241)

  • the newusers utility failed if a specified parent directory did not

exist. The error message, 'mkdir failed', did not detail the cause of the
failure. The newusers utility has been updated to note when the parent
directory does not exist, and the manual page now emphasizes how
non-existent parent directories are dealt with. The behavior of the
newusers utility in this situation is now clearer. (BZ#461455)

  • the useradd utility is used to create or update a new user's default

information. The useradd utility did not recognize the base directory
option (-b, --base-dir), and commands using this option would not succeed.
The useradd utility has been updated to recognize the base directory option
properly, and useradd commands now work as expected. (BZ#469158)

  • the useradd utility did not reset the error number variable before

checking function return values. As a consequence, error numbers could be
affected by retained values, and the utility would fail with 'invalid
numeric argument'. The error number variable is now reset before each
function call, and error numbers in the useradd utility are reported
correctly. (BZ#487575)

  • the useradd utility handled the creation of UIDs differently on x86 and

PowerPC 64 architectures than it did on others. As a consequence, UIDs
greater than 2147483647 were rejected on these systems. The useradd utility
now treats UIDs the same across architectures, and large UIDs are not
rejected on x86 and PowerPC 64 architectures. (BZ#505033)

  • the usermod utility allows a user account to be modified. The usermod

utility did not support LDAP (Lightweight Directory Access Protocol) users,
despite support in other utilities. As a result, the usermod utility could
not add LDAP users to local groups. LDAP support has now been added to the
usermod utility, and LDAP users can be added to local groups. (BZ#449154)

  • the restorecon command sets file security contexts. The usermod utility

was calling the restorecon command every time a user's home directory was
changed. This would result in an error if expected files no longer existed.
The restorecon command is no longer called by the usermod utility, and
changing a user's home directory succeeds as expected. (BZ#494575)

  • the faillog utility displays failure logs and sets login failure limits.

When the utility was used with the print option (-p), the log was read
sequentially to print in UID order. This was unnecessary and caused long
print times. The faillog utility has been updated to print without
ordering, and printing now completes in an acceptable time. (BZ#473054)

  • the grpconv utility converts shadow passwords and groups. The utility was

not checking whether duplicate group entries existed in the /etc/group
directory. Running the utility with duplicate entries would consume too
much memory. The grpconv utility now checks for duplicate group entries in
the /etc/group directory, and excess memory is no longer consumed.
(BZ#507706)

All users of shadow-utils are advised to upgrade to this updated package,
which resolves these issues.

Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 306241 - newusers creates users with negative UID and GID on x86_64
  • BZ - 461455 - newusers will fail with an uninformative message if the new user's parent directory does not exist
  • BZ - 469158 - base directory option (--base-dir) not recognized
  • BZ - 473054 - faillog -p takes forever if /var/log/faillog has gone huge sparse.
  • BZ - 487575 - useradd: does not clear errno prior to checking fn returns
  • BZ - 494575 - RFE: add usermod switch - prevent calling restorecon
  • BZ - 505033 - useradd cannot create an user with UID above 2147483647
  • BZ - 507706 - runaway grpconv when parsing duplicate entries in /etc/group
  • BZ - 510102 - /etc/default/useradd customizations overwritten on package update

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
x86_64
shadow-utils-4.0.17-15.el5.x86_64.rpm SHA-256: 202718e00cea88a7024187909f299f65a157746572a11e41c6c3dfc2178d2544
ia64
shadow-utils-4.0.17-15.el5.ia64.rpm SHA-256: 257447f80327427274a4a2902d215492d237c47c04ed8aed3abd16af1f51fdac
i386
shadow-utils-4.0.17-15.el5.i386.rpm SHA-256: a77786000aef26aa11accec94a2e80507fb5cb3b54c83b5fd2ef368c3b3c9403

Red Hat Enterprise Linux Workstation 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
x86_64
shadow-utils-4.0.17-15.el5.x86_64.rpm SHA-256: 202718e00cea88a7024187909f299f65a157746572a11e41c6c3dfc2178d2544
i386
shadow-utils-4.0.17-15.el5.i386.rpm SHA-256: a77786000aef26aa11accec94a2e80507fb5cb3b54c83b5fd2ef368c3b3c9403

Red Hat Enterprise Linux Desktop 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
x86_64
shadow-utils-4.0.17-15.el5.x86_64.rpm SHA-256: 202718e00cea88a7024187909f299f65a157746572a11e41c6c3dfc2178d2544
i386
shadow-utils-4.0.17-15.el5.i386.rpm SHA-256: a77786000aef26aa11accec94a2e80507fb5cb3b54c83b5fd2ef368c3b3c9403

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
s390x
shadow-utils-4.0.17-15.el5.s390x.rpm SHA-256: eeb0bec89a804f59b40198cd77aeee8b4724ca575bc4b6434741e9d0612590a3

Red Hat Enterprise Linux for Power, big endian 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
ppc
shadow-utils-4.0.17-15.el5.ppc.rpm SHA-256: e84b9569f585fa137788384a52dcdd37e8d1e31de423085bc6f145b5ab464935

Red Hat Enterprise Linux Server from RHUI 5

SRPM
shadow-utils-4.0.17-15.el5.src.rpm SHA-256: f2e34659bb1bcadd0c11847662e269dc4c3511dec9c8bcfb17e470cddc029a27
x86_64
shadow-utils-4.0.17-15.el5.x86_64.rpm SHA-256: 202718e00cea88a7024187909f299f65a157746572a11e41c6c3dfc2178d2544
i386
shadow-utils-4.0.17-15.el5.i386.rpm SHA-256: a77786000aef26aa11accec94a2e80507fb5cb3b54c83b5fd2ef368c3b3c9403

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility