# Edit the sudoers with the visudo command
sudo visudo
# Change the %sudo group to be password-less
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
# Press CTRL+X to exit
# Press Y to save
# Press Enter to confirm
sudo vim /etc/sudoers
# Find `includedir /etc/sudoers.d` usually last line of file
username ALL=(ALL) NOPASSWD: ALL