Thursday, August 07, 2014

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.