password set to none but still asking for password, and cannot recognize old password

Asked by Wasim Ahmad on 2012-02-24

I set a password when I was installing ubuntu. Then I changed my user setting password to 'none'. But now when I try to perform any administrative work, it asks me for a password, and I tried my old password, blank field, even none as password. But nothing is working. Any comments?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-02-25
Last query:
2012-02-25
Last reply:
2012-02-24

You need to have a password set. Reboot and hold SHIFT, select recovery mode then select root, then run:

passwd foo; reboot

change fo for your username. E.g:

passwd andy; reboot

You can now use the password you set and have no issues. Do NOT set blank passwords.

Wasim Ahmad (wasim4) said : #2

Thanks actionparsnip, that solved my question.

donald lisiac (donald-lisiac) said : #3

men i have i lost my password, then i tried do what you said but when i go typing my new password, nothing appears, and if i oress enter appear to retype my new password

what do i do??

thanks

you wont get feedback when you type passwords, just type as if you were and it'll be ok