Sunday 27 November 2011

Linux: sudo without password

Edit sudoers and add your username so that it doesn't need password to sudo:
$ sudo visudo
myusername ALL=(ALL) NOPASSWD: ALL

No comments:

Post a Comment