Don't sudo every command
TVheadend: Don't Type in Password on Every Sudo
$ sudo nano /etc/sudoers
Without the following change you will have to enter a password each time sudo is used.
After the comment, #includedir ..., add the line that starts, ♣username♣ ALL=:
#includedir /etc/sudoers.d
♣username♣ ALL=(ALL) NOPASSWD: ALL
CTRL-o, ENTER, CTRL-x to save and close the file
Also, change the root password for ubuntu:
$ sudo passwd root