sudo nopasswd

nano /etc/sudoers

Then add at the bottom

# Allow username sudo no password
username ALL=(ALL) NOPASSWD: ALL

Last updated