Step1 : Go to /etc/sudoers.d/ directory
# cd /etc/sudoers.d/
Step2: Create a file and add the following content. Change the username with yours
# vi admincool
admincool ALL=(ALL) NOPASSWD:ALL
Step3: Save the file