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?
Ubuntu is not designed to be used without the administrator being behind a password
so are you saying that an administrator/user "must" have a password as per the design philosophy of Ubuntu? – BiologyEnthusiast Oct 23 '21 at 20:18