Password-less sudo
Horrible idea in a production box, but great idea for a single user lab system.
To accomplish this, we'll use the visudo
command, which edits the /etc/sudoers file in a safe manner, aka, protect you from seriously messing up your system.
sudo visudo
At the bottom of that file, add (assuming your username is tom, otherwise use the username you want password-less sudo:
tom ALL=(ALL) NOPASSWD: ALL