I have just went through a fresh install on 32bit version of ubuntu 11.10. After the installation finished the computer rebooted and a login screen shows up. I entered my password from the installation steps and it doesn't accept it.
What I have tried
- I reinstalled again with the same result.
I have entered the recovery mode by booting up my machine and holding Shift and I selected "Ubuntu, with Linux 3.0.0-12 (recovery mode)" then selecting "root Drop to root shell prompt". I then tried passwd adam (adam being my username) and entered a new password. On screen I get
passwd: Authenication token manipulation error passwd: password unchanged
So I tried the following instructions with no luck:
Also make sure you are mounting the file system read/write.
After immediately selecting 'Drop into root shell prompt' I found the filesystem was mounted read only, which prevents resetting the password.
Choosing the option to remount
/ as read/write and going back into the root shell prompt enabled the password change.
And I tried the following instructions with no luck:
Check the permissions on your
/etc/shadowfile. They must be set to
000or you cannot edit user password data.
Which gave me the following:
-rw-r----- 1 root shadow 1045 2012-01-28 00:13 shadow