We using Amazon EC2.
I changed sudoerrs using visudo and changed
ubuntu ALL=(ALL) NOPASSWD:ALL
to something like:
ubuntu ALL=(ALL) ALL
Don't ask me why i did it, but after this change i can't call sudo. Now it asks password on each sudo call:
ubuntu@ip:~/deploy/master$ sudo bash [sudo] password for ubuntu:
Ho can i fix it, and revert my changes?