passwd refuses to set password for users without entry in /etc/shadow
Bug #203881 reported by
Alexander Sack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
steps to reproduce in hardy beta (preview):
1. setup NEWUSER by hand in /etc/passwd and if applicable add a new group in /etc/group
2. run passwd NEWUSER
expected behavior
============
passwd will ask you for a new password
actual result
========
it refuses to set the password. the message on the console is:
$ sudo passwd NEWUSER
passwd: Authentication service cannot retrieve authentication info
passwd: password unchanged
workaround
========
duplicate some random user in /etc/shadow and rename its userid to NEWUSER; after that passwd will ask for a new password and set it accordingly.
Changed in shadow: | |
status: | Confirmed → Incomplete |
Changed in shadow: | |
milestone: | ubuntu-8.04 → none |
To post a comment you must log in.
i am milestoning as this appears to be a regression in a base linux feature. (at least i cannot remember that it ever not worked). Feel free to bump milestone to :later if you think this is not worth fixing for hardy.
Thanks,
- Alexander