Password Recovery

Asked by Johnomran-gmail on 2014-08-25

Earlier this month I have re-installed UBUNTU 12.04 with new password. Unfortunaley I have lost the reminder for the new password as well as the installation disc. And now I can only logon as a gust. Is there any way of recovering the new password, or failing that, is possible to obtain an installation disc for UBUNTU 12.04

Best regards

Jaddo Omran?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
2014-09-09
Last query:
2014-09-09
Last reply:
2014-08-26

Hello,
in boot menu, choose recovery mode. Then choose root shell, and type :
passwd YOURUSERNAME

If you need other methods, you may also be interested in http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password, http://askubuntu.com/questions/121698/how-do-i-reset-a-lost-password-using-recovery-mode-requires-me-to-type-the-pass, and https://help.ubuntu.com/community/LostPassword.

@Filip Sohajek
When resetting a password from recovery mode, usually it's necessary to remount the root filesystem as readwrite before running the passwd command (http://askubuntu.com/a/156363).

Hello Mark

I have done what you mhave suggested. It has worked. Thanks

Best regards

Jaddo Omran