The Situation

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/shadow file. They must be set to 000 or you cannot edit user password data.

Which gave me the following:

-rw-r----- 1 root shadow 1045 2012-01-28 00:13 shadow
link|improve this question
Have you tried this - ideaexcursion.com/2009/09/11/… – zubinmehta Jan 28 at 6:55
Yes I have but after selecting 'Drop into root shell prompt' to enter recovery mode I found the filesystem was mounted read only. So when I run command: sudo apt-get remove likewise-open I get the following: W: Not using locking for read only lock file /var/lib/dpkg/lock E: unable to write to /var/cache/apt E: The package lists or status file could not be parsed or opened. – X-TraxxX Jan 28 at 16:56
Maybe, after remounting your root fs as 'rw' you can try rm -f /var/lib/dpkg/lock and then try removal of likewise-open. – zubinmehta Jan 29 at 6:51
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.