You feel bored of being asked the same question every time when sudo asking for the password, as you know you can’t log-in as a root in Ubuntu, so sudo is used almost all the time, well to configure sudo not to ask for a password there are two ways the easy one is to run visudo, this command is to edit the list of sudoers list (sudo users).
The harder way to do it is to edit the file /etc/sudoers
nano /etc/sudoers
Add the following to the end of the file:
username ALL=(ALL) NOPASSWD: ALL
Note: It should be the last line in the file, username is your Ubuntu username.
It will work on almost any Linux ditribution
Tags: Linux, Operating Systems, OS, shell















Really it’s a good information
Thanks and welcome