I need sudo without password prompt, for scripts. Where did I go wrong?

Seems you've got the relevant line in your sudoers missing a character:

sudo ALL=(ALL:ALL) NOPASSWD: ALL

matches an user named 'sudo'. For 'all users in the sudo group' it should be:

%sudo ALL=(ALL:ALL) NOPASSWD: ALL

(note the % sign at the beginning).


sudo visudo

Then, assuming molot is your username, go to the end of file and:

molot ALL=(ALL) NOPASSWD: ALL

This should work, but if it doesn't, keep us posted.