Fewer sudo password prompts

The first thing I do on a new Ubuntu installation is to stop sudo from asking me for a password in every terminal I open:

echo 'Defaults !tty_tickets' | sudo tee /etc/sudoers.d/no_tty_tickets

This is especially useful if you use screen, tmux, or byobu.

Preparing for Python 3 in MAAS

Something we’ve done in MAAS — which is Python 2 only so far — is to put:

from __future__ import (

__metaclass__ = type

str = None

at the top of every source file. We knew that we would port MAAS to Python 3 at some point, and we hoped that doing this would help that effort. We’ll find out if that’s the case soon enough: one of our goals for this cycle is to port MAAS to Python 3.

[Read More]