{"id":191,"date":"2021-11-04T21:36:03","date_gmt":"2021-11-05T02:36:03","guid":{"rendered":"https:\/\/donaldfcooley.info\/?p=191"},"modified":"2021-11-04T21:36:03","modified_gmt":"2021-11-05T02:36:03","slug":"doas-on-openbsd","status":"publish","type":"post","link":"https:\/\/donaldfcooley.info\/?p=191","title":{"rendered":"doas on openbsd"},"content":{"rendered":"\n<p>doas, available on OpenBSD as part of the default system, is a simpler replacement for sudo. <\/p>\n\n\n\n<p>Become root user and then copy doas configuration file from \/etc\/examples\/.<\/p>\n\n\n\n<p><code>su -<\/code><\/p>\n\n\n\n<p><code>cp \/etc\/examples\/doas.conf  \/etc\/<\/code><\/p>\n\n\n\n<p>Use your favorite editor or vi or Emacs clone mg which are included in the base to edit \/etc\/doas.conf. Add the word &#8220;persist&#8221; after &#8220;permit&#8221; to enter your password less often.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>doas, available on OpenBSD as part of the default system, is a simpler replacement for sudo. Become root user and then copy doas configuration file from \/etc\/examples\/. su &#8211; cp \/etc\/examples\/doas.conf \/etc\/ Use your favorite editor or vi or Emacs clone mg which are included in the base to edit \/etc\/doas.conf. Add the word &#8220;persist&#8221; &hellip; <a href=\"https:\/\/donaldfcooley.info\/?p=191\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">doas on openbsd<\/span> <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":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":1,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/donaldfcooley.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}