When executing commands as sudo user in Linux, the system asks to provide password for authentification. It might be annoying when system is used for testing purpose. This tutorial shows how to use sudo without password in Linux.
sudo to never ask for your password, run the following command to edit
Add the following line in the bottom of the file:
USERNAME ALL=(ALL) NOPASSWD:ALL
USERNAME with your username on system. For example, the following entry allows to run commands as sudo without asking password for a user
john ALL=(ALL) NOPASSWD:ALL
Save and close the file.