Thursday, December 8, 2011

sudo with out asking password in Ubuntu / Debian Linux

How to sudo with out asking password in Ubuntu / Debian Linux
open a terminal 
 
$ sudo visudo
 
Now Add this line at the end (change “panayara” to your username):

panayara ALL=(ALL) NOPASSWD: ALL
 
Ctrl-X to leave, save your changes, and you're done!

No comments: