FS#18516 - [shadow] groupmod / pam bug - Prevents using groupmod with pam enabled with kernel 2.6.32.9-1

Attached to Project: Arch Linux
Opened by David C. Rankin (drankinatty) - Monday, 01 March 2010, 15:09 GMT
Last edited by Ionut Biru (wonder) - Saturday, 29 May 2010, 10:44 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

There appears to be a bug in the source of shadow src/groupmod.c that renders groupmod unusable with pam enabled evidently due to null-pointer problem causing the error: "groupmod: Cannot determine your user name."

Examples:

[15:23 nirvana:/home/david] # groupmod -g1060 david
groupmod: Cannot determine your user name.

[15:25 nirvana:/home/david] # groupmod -nskyline david
groupmod: Cannot determine your user name.

This bug was already identified and patched in Gentoo a few days ago and it looks like Arch will need to do something similar. See:

http://bugs.gentoo.org/300790


Additional info:
* package version(s)
kernel 2.6.32.9-1
pam 1.1.1-1

* config and/or log files etc.


Steps to reproduce:

See "Examples:" above
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 29 May 2010, 10:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  shadow 4.1.4.2-3
Comment by Ionut Biru (wonder) - Friday, 28 May 2010, 17:31 GMT
i've pushed a version in testing that fixes this issue. please test and report back

Loading...