Stop sudo from asking for a password
Revision as of 18:51, 24 March 2017 by Admin
If you're like me and get tired of typing in a password all the time you can add this to your sudoers file.
Add this line.
user_name ALL = NOPASSWD: ALL
For example, to allow a user to run the ssh command using sudo add this line.
user1 ALL=(root) NOPASSWD: /usr/bin/ssh