Disable sudo password prompt

sudo visudo /etc/sudoers

add

# Paswordless sudo
%sudo ALL=(ALL) NOPASSWD: ALL
  • 2023-11-05: Changed nano to visudo to prevent accidental misconfiguration.