Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300790 - sys-apps/shadow groupmod always fails with "Cannot determine your user name"
Summary: sys-apps/shadow groupmod always fails with "Cannot determine your user name"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 23:15 UTC by Esther Dalhuisen
Modified: 2010-01-15 02:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch for inclusion in the ebuild (shadow-4.1.4.2-groupmod-username.patch,373 bytes, patch)
2010-01-12 23:18 UTC, Esther Dalhuisen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Esther Dalhuisen 2010-01-12 23:15:28 UTC
There is a bug in the source of shadow src/groupmod.c which renders it effectively useless when PAM is enabled where it performs a null-pointer check for the wrong variable. See the following mailinglist for more information:

http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2009-November/007850.html

Affected version appears to be 4.1.4.2 only (so far?).
Comment 1 Esther Dalhuisen 2010-01-12 23:18:10 UTC
Created attachment 216305 [details, diff]
Proposed patch for inclusion in the ebuild
Comment 2 SpanKY gentoo-dev 2010-01-15 02:58:08 UTC
thanks, added the patch to 4.1.4.2-r2