August 7th, 2014, 11:32 UTC

Shell Ubuntu

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.