{"id":202,"date":"2011-03-16T17:29:53","date_gmt":"2011-03-16T17:29:53","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=202"},"modified":"2011-03-16T17:30:44","modified_gmt":"2011-03-16T17:30:44","slug":"sudo-without-password-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=202","title":{"rendered":"sudo without password on Ubuntu"},"content":{"rendered":"<p>OK so I am working with Ubuntu servers (no, I haven&#8217;t abandoned CentOS, just broadening the horizons).<br \/>\nAnyway, Ubuntu is different in that, rather than creating a root password during the install, it has you create a user account with sudo permissions.<br \/>\nHowever, whenever you type sudo &#8216;this&#8217; or sudo &#8216;that&#8217;, Ubuntu asks for your password.  Every time.  Gets kind of annoying after a while.<br \/>\nSo&#8230; search for <a href=\"http:\/\/maestric.com\/doc\/unix\/ubuntu_sudo_without_password\">Sudo without password on Ubuntu<\/a> and problem solved!<\/p>\n<p><code>sudo visudo<\/code><\/p>\n<p>Add this line at the end (change \u201cjerome\u201d to your username):<\/p>\n<p><code>jerome ALL=(ALL) NOPASSWD: ALL<\/code><\/p>\n<p>Ctrl-X to leave, save your changes, and you&#8217;re done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK so I am working with Ubuntu servers (no, I haven&#8217;t abandoned CentOS, just broadening the horizons). Anyway, Ubuntu is different in that, rather than creating a root password during the install, it has you create a user account with &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=202\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/202"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=202"}],"version-history":[{"count":2,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}