Sudo without password on Ubuntu

sudo visudo

Add this line at the end (change "cc" to your username)

cc ALL=(ALL) NOPASSWD: ALL

Ctrl-X to leave, save your changes, and you're ready to sudo without password.

Comments

blog comments powered by Disqus
Fork me on GitHub