This question already has an answer here:
I know this has probably been asked before, but I just installed Ubuntu last night and all the replies I read I honestly couldn't understand anything :p
I need to make some changes, and all of them seem to use sudo. When I formatted the pc and installed Ubuntu, it asked me for a password and didn't give me a chance, to have no password. So I then went on and removed the password completely, when the pc was on and the installation was complete.
I then had to use sudo as I said for a couple things, but it asked for a password. I tried to put the old one, I tried to leave it blank, I also typed NOPASSWD, and other variations of that. Nothing worked. I have rebooted the pc also in between of that so for now I have no idea what to do.
Please help, it's really frustrating :(
Edit: I am not looking to reset or restore any password. All I want is to not have a password set at all, and to not be asked for one by sudo, when there is none.