Red Hat Bugzilla – Bug 545053
passwd fails with obscure message when line in /etc/shadow missing
Last modified: 2010-11-04 04:06:26 EDT
If a user's entry is missing in /etc/shadow (although present in /etc/passwd) then trying to set the password for that user fails:
# passwd somebody
Changing password for user somebody.
Retype new password:
passwd: Authentication token manipulation error
If you manually add a line to /etc/shadow then passwd succeeds. This bug report is for two suggestions:
- Firstly, if the line is missing in /etc/shadow then the error message should say that - the existing message is not very informative.
- But better would be that passwd(1) knows to add a new line to /etc/shadow if setting the password for a user for the first time.
Of course adduser(1) adds the line but making passwd(1) more robust would avoid some headscratching in case the various files get out of sync.
This must be fixed in pam_unix.
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here: