How to avoid reputations of sudo command in linux.
Just follow bellow steps to avoid reputations.
Create file or edit if exist
sudo visudo -f /etc/sudoers.d/90-cloudimg-ubuntu
Change username as per your suite
# ubuntu user is default user in cloud-images.
# It needs passwords less sudo functionality.
ubuntu ALL=(ALL) NOPASSWD:ALL