create /etc/sudoers.d/010_pi-nopasswd with the content:
yourusername ALL=(ALL) NOPASSWD: ALL
confirm what yourusername is with whoami
create /etc/sudoers.d/010_pi-nopasswd with the content:
yourusername ALL=(ALL) NOPASSWD: ALL
confirm what yourusername is with whoami