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

Asked by Wasim Ahmad

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:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
Wasim Ahmad (wasim4) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

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