Comment 0 for bug 203881

Revision history for this message
Alexander Sack (asac) wrote :

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 asac
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.