i lost the password after installing ubuntu. how do i recover the password?

Asked by sudarsan

after installing ubuntu, when i tried booting, i found that it was not accepting my username or password or both. now i am not able to log on to ubunto at all. now how do i recover the password/username?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
midnightflash (midnightflash) said :
#1

Press [Esc] at the very early start to get the boot-menu.
There select the "recovery" one and let it boot.

Then when you finally see a black screen with a command-line type:

     passwd [USERNAME]

(while [USERNAME] is the name you have)
The system will ask you to insert the new password twice.
Then type:

     shutdown -r now

and see if it works.

Greetings

Can you help with this problem?

Provide an answer of your own, or ask sudarsan for more information if necessary.

To post a message you must log in.