So after 6 years this question was posted I still ran into same issue. I did the followoing :
myusername ALL=(ALL) NOPASSWD:ALL
And it was going fine for some time so if I am installing any software like Zoom in Ubuntu from GUI then there it still asks for password while there is no password for the system! I could only install it using terminal sudo and then it did not ask for the password.
Today its asking for password again while I have none.
I cant do sudo visudo because there is no system password,what can i do to resolve this?