Sudo command with no password in linux!

Written on 2019-09-09 16:33:48

Last updated 2019-09-09 16:35:03

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
blog comments powered by Disqus