{"id":132,"date":"2009-03-10T11:35:17","date_gmt":"2009-03-10T03:35:17","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=132"},"modified":"2009-03-10T11:35:17","modified_gmt":"2009-03-10T03:35:17","slug":"do-not-prompt-password-for-sudo-nopasswd","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/do-not-prompt-password-for-sudo-nopasswd\/","title":{"rendered":"Do Not Prompt Password for SUDO: NoPasswd"},"content":{"rendered":"<p>Do Not Prompt Password for SUDO: NoPasswd, here&#8217;s a quikie, quikie post&#8230; How do you setup a sudo for a user without prompting the user for his password?<\/p>\n<p>RTFM! \ud83d\ude42<\/p>\n<p>Simply add NOPASSWD before the list of commands&#8230;again NOPASSWD goes before the list of commands, after your username and host list. The man page has this example:<\/p>\n<blockquote><p>ray    rushmore = NOPASSWD: \/bin\/kill, \/bin\/ls, \/usr\/bin\/lprm<\/p><\/blockquote>\n<p>Where &#8216;ray&#8217; is the username, &#8216;rushmor&#8217; is the host and the rest, you know already&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do Not Prompt Password for SUDO: NoPasswd, here&#8217;s a quikie, quikie post&#8230; How do you setup a sudo for a user without prompting the user for his password? RTFM! \ud83d\ude42 Simply add NOPASSWD before the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[185,184,183],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-commands","tag-no-password","tag-nopasswd","tag-sudo"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":0,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}