I removed the password from my account using the "User Accounts" window and then on running sudo
, it prompted me for a password, even when i didn't have one. I tried pressing enter without entering anything but it didn't help.
Also I couldn't unlock my account to set a new password in the "User Accounts" window in "System Settings" because it kept prompting for a password and wouldn't except an empty string, just like sudo
. I then finally set a new password using passwd
.
Is this a bug which shouldn't be happening? How do I prevent this from happening?
passwd
solved the problem.