Setting up a user with no password is a bad idea, and sudo won't allow such a user to perform administrative tasks. If you don't want to type in a password when you login, set up auto-login for the desktop. Then you'll only need your password for adminstrative tasks.
It's a bit late now, but you didn't need to reinstall to fix this, you can rest the password from a live CD. Mount your Ubuntu partition, say at /mnt/ubuntu, and run
- Code: Select all
passwd --root /mnt/ubuntu yourusername
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)