To reset forgotten password in 12.04 LTS.

I am able to boot the computer. i choose root option and then come to password changing. they ask me to enter new UNIX password which i do type. but at last they give a command saying


and my password is unchanged.


Have a look at our guide on how to reset your password using recovery mode on 12.04 it should help, you probably just need to remount the drive with write permissions after dropping to a root shell using this command :

mount -o rw,remount /

Please see this page on my website for more information.

|improve this answer|||||

Even if this error occurs in rescue mode, you should be able to reset the password from a live CD/DVD/USB using this method or this method.

|improve this answer|||||

Before choosing the option root, choose grub (to mount the filesystem as read-write). Once it is done, choose root option and change the password. Your password will be updated successfully.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.