Do Not Prompt Password for SUDO: NoPasswd

Check out this article about Do Not Prompt Password for SUDO: NoPasswd. Please tell me what you think about it. You can contact me anytime!

Do Not Prompt Password for SUDO: NoPasswd, here’s a quikie, quikie post… How do you setup a sudo for a user without prompting the user for his password?

RTFM! :)

Simply add NOPASSWD before the list of commands…again NOPASSWD goes before the list of commands, after your username and host list. The man page has this example:

ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm

Where ‘ray’ is the username, ‘rushmor’ is the host and the rest, you know already….