Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21951 - [shadow] newgrp command does not work as expected

Attached to Project: Arch Linux
Opened by Michał Kazior (kazikcz) - Wednesday, 01 December 2010, 19:09 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 26 June 2011, 17:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The lib/gshadow.c parses /etc/gpasswd incorrectly. This causes `newgrp` command to not work correctly (e.g. always says "Invalid password", even if it is correct).

This has been fixed in the SVN trunk already and I think it would be nice to have it fixed in the repo until upstream releases a new version.

SVN diff: http://svn.debian.org/viewsvn/pkg-shadow/upstream/trunk/lib/gshadow.c?r1=3054&r2=3096

I tested the patch - it fixes the problem.
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 26 June 2011, 17:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in shadow-4.1.4.3-2 in testing

Loading...