- Issued:
- 2011-12-06
- Updated:
- 2011-12-06
RHBA-2011:1650 - Bug Fix Advisory
Synopsis
shadow-utils bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated shadow-utils package that fixes multiple bugs and adds three
enhancements is now available for Red Hat Enterprise Linux 6.
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.
This update fixes the following bugs:
- Previously, the extended access control lists (ACL) on a file or directory
below the /etc/skel directory were not preserved when a new user was created. As
a result, the file or directory was copied but the extended ACLs that were
associated with the file or directory were lost. This update preserves these
extended ACLs. (BZ#586796)
- Previously,the switch-group (sg) command failed with a segmentation fault when
using password protected groups. This update modifies the gshadow functions in
shadow-utils and also uses the gshadow functions from glibc so that the sg
command now handles password protected groups as expected. (BZ#667593)
- Previously, the new group (newgrp) command failed with a segmentation fault
when using password protected groups. This update modifies the newgrp command so
that the newgrp command now handles password protected groups as expected.
(BZ#672510)
- Previously, the man page for the useradd command contained misleading
information about the -m option. The -m option is described correctly.
(BZ#674878, BZ#696213)
- Previously, the useradd command failed with a segmentation fault when the user
ID (UID) range exceeded the maximum of 2147483647 (UID_MAX) accounts on a 64bit
system. This update replaces the alloca() function with the malloc() function
and checks the return value. Now, the useradd command operates in this range as
expected. (BZ#693377)
- Previously, the lastlog command did not work correctly with large UIDs on
32bit system due to integer overflow. As a result, lastlog showed only users
that were logged in. This update modifies the code so that lastlog now shows
also users that were never logged in. (BZ#706321)
This update also adds the following enhancements:
- This update is compiled with the position-independent executable (PIE) and
relocation read-only (RELRO) flags which enhance the security of the system.
(BZ#723921)
- With this update, the userdel command offers the option to delete both from
the SELinux login mapping. (BZ#639900)
- This update adds additional comments in "/etc/login.defs". These comments
inform the administrator that certain configuration options are ignored in favor
of the pam-cracklib module. (BZ#629277, BZ#696213)
All users of shadow-utils are advised to upgrade to this updated package, which
fixes these bugs and adds these enhancements.
Solution
Before applying this update, make sure all previously-released errata relevant
to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x
Fixes
- BZ - 629277 - /etc/login.defs ought to refer to pam(cracklib)
- BZ - 639900 - RFE: userdel supports an option to remove Linux login <-> SELinux login mapping
- BZ - 639975 - RFE: useradd ends up with special exit value if SELinux user mapping is invalid
- BZ - 639976 - RFE: usermod ends up with special exit value if SELinux user mapping is invalid
- BZ - 667593 - /usr/bin/sg has ceased to function for groups with a password; "Invalid password"
- BZ - 672510 - newgrp command : Invalid password.
- BZ - 674878 - man useradd is incorrect
- BZ - 693377 - useradd segfaults when UID_MAX >= 2147483647
- BZ - 696213 - Mistakes in the description of -M in the useradd manual page
- BZ - 706321 - lastlog shows that user has been logged in while he was not
- BZ - 723921 - Add PIE and RELRO flags when building setuid programs
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
s390x | |
shadow-utils-4.1.4.2-13.el6.s390x.rpm | SHA-256: caa20da21a2586f77a23d918efc2aadda213c4a4da927400f2fc17fa1dff4d0f |
shadow-utils-debuginfo-4.1.4.2-13.el6.s390x.rpm | SHA-256: c5d46d0f5bf6760c0a61aee1bd4d601c3894f2c17a5dc09d341cd5e9992158ae |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
ppc64 | |
shadow-utils-4.1.4.2-13.el6.ppc64.rpm | SHA-256: b11ea0180d0e34194fa592d595a054b6171a1cd29848197b3868f8bd7c886bae |
shadow-utils-debuginfo-4.1.4.2-13.el6.ppc64.rpm | SHA-256: 1fde41eb1026f0b2334eb648cbc6894ec675b31c18c1068b62e4eae53cbf3ed2 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
s390x | |
shadow-utils-4.1.4.2-13.el6.s390x.rpm | SHA-256: caa20da21a2586f77a23d918efc2aadda213c4a4da927400f2fc17fa1dff4d0f |
shadow-utils-debuginfo-4.1.4.2-13.el6.s390x.rpm | SHA-256: c5d46d0f5bf6760c0a61aee1bd4d601c3894f2c17a5dc09d341cd5e9992158ae |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
x86_64 | |
shadow-utils-4.1.4.2-13.el6.x86_64.rpm | SHA-256: bd3468faf9c9b49c5dd5e04662b1b7742c920831d2a41c4ab02ae94ba9006e28 |
shadow-utils-debuginfo-4.1.4.2-13.el6.x86_64.rpm | SHA-256: 6728e1c45b7fc3835dbb6b7755ecc8200af2847d7133b03b50bc37c1d286029c |
i386 | |
shadow-utils-4.1.4.2-13.el6.i686.rpm | SHA-256: 64944104c9c97af27041d86a185b86942f80591e14763a87b57124424b3864f0 |
shadow-utils-debuginfo-4.1.4.2-13.el6.i686.rpm | SHA-256: bf2891cf41e93e53147640cb05709e90a81dba2f9368119f882cf7d844587136 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
shadow-utils-4.1.4.2-13.el6.src.rpm | SHA-256: 395d9283ccbb7efa45a40f80d8cf0556371181b3bfb60ad7e313b9aa8f78282b |
s390x | |
shadow-utils-4.1.4.2-13.el6.s390x.rpm | SHA-256: caa20da21a2586f77a23d918efc2aadda213c4a4da927400f2fc17fa1dff4d0f |
shadow-utils-debuginfo-4.1.4.2-13.el6.s390x.rpm | SHA-256: c5d46d0f5bf6760c0a61aee1bd4d601c3894f2c17a5dc09d341cd5e9992158ae |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.