Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216702 - sys-libs/pam-1.0.0: unable to change password as user
Summary: sys-libs/pam-1.0.0: unable to change password as user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 13:44 UTC by srrijkers
Modified: 2008-04-10 22:26 UTC (History)
0 users

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


Attachments
pam_reverse-r1.325.patch (sys-libs_pam_reverse-r1.325.patch,4.18 KB, patch)
2008-04-07 13:45 UTC, srrijkers
Details | Diff
pam-1.0.0-set-item.patch (pam-1.0.0-set-item.patch,1.89 KB, patch)
2008-04-08 15:33 UTC, srrijkers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description srrijkers 2008-04-07 13:44:22 UTC
When I run passwd as a normal user I get the following error:

passwd[15714]: pam_unix(passwd:chauthtok): authentication failure; logname= uid=1000 euid=0 tty= ruser= rhost=  user=sebastian
passwd[15714]: pam_unix(passwd:chauthtok): user password changed by another process

Changing as root works fine.

This seems to happen irregardless of USE-flag settings or settings in /etc/pam.d.

I have tracked the error to upstream revision 1.325. The attached patch reverses that commit and makes passwd work again for normal users.

Perhaps this should be reported upstream?
Comment 1 srrijkers 2008-04-07 13:45:08 UTC
Created attachment 148980 [details, diff]
pam_reverse-r1.325.patch
Comment 2 srrijkers 2008-04-08 15:33:31 UTC
Created attachment 149107 [details, diff]
pam-1.0.0-set-item.patch

Proper fix from fedora.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-10 22:26:12 UTC
Fixed in 1.0.0-r1.