{"id":105216,"date":"2019-06-21T10:40:48","date_gmt":"2019-06-21T10:40:48","guid":{"rendered":"http:\/\/webdomino.net\/?guid=4def0764b2abd2b685db1bea49864196"},"modified":"2019-06-21T10:40:48","modified_gmt":"2019-06-21T10:40:48","slug":"doas-environmental-security","status":"publish","type":"post","link":"http:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/","title":{"rendered":"doas environmental security"},"content":{"rendered":"\n<p>Ted Unangst (<code>tedu@<\/code>)\r\n<a href=\"https:\/\/marc.info\/?l=openbsd-tech&amp;m=156105665713340&amp;w=2\">posted<\/a>\r\nto the <code>tech@<\/code>\r\nmailing list regarding\r\n<a href=\"https:\/\/www.openbsd.org\/faq\/current.html#r20190617\">recent changes to environment handling in\r\ndoas\r\n(in -current)<\/a>:<\/p>\r\n<blockquote>\r\n<pre>[...]\r\nAfter some reflection, I've been convinced that it's unlikely everybody reads\r\nthe manuals, or that the manuals are even correct or complete. So the new doas\r\nbehavior moving forward is to reset most everything to the target user's\r\nenvironment.\r\n\r\nYour action items, as we like to say in the biz, are:\r\n\r\n1. Check existing configs for &quot;restricted root&quot; rules and verify that they are\r\nrun with the correct environment.\r\n\r\n2. When updating, check for rules that intentionally use inherited environment\r\nvariables. They may need to be explicitly passing using <a href=\"https:\/\/man.openbsd.org\/doas.conf#setenv__\">setenv<\/a> in <a href=\"https:\/\/man.openbsd.org\/doas.conf\">doas.conf<\/a>.\r\n<\/pre>\r\n<\/blockquote>\r\n<p>Readers are encouraged to read the\r\n<a href=\"https:\/\/marc.info\/?l=openbsd-tech&amp;m=156105665713340&amp;w=2\">entire message<\/a>.<\/p>\r\n\r\n\n\n","protected":false},"excerpt":{"rendered":"<p>Ted Unangst (tedu@)<br \/>\nposted<br \/>\nto the tech@<br \/>\nmailing list regarding<br \/>\nrecent changes to environment handling in<br \/>\ndoas<br \/>\n(in -current):<\/p>\n<p>[&#8230;]<br \/>\nAfter some reflection, I&#8217;ve been convinced that it&#8217;s unlikely everybody reads<br \/>\nthe manuals, or that the manual&#8230;<\/p>\n","protected":false},"author":174,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4132],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>doas environmental security - WebDomino.NET<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"doas environmental security - WebDomino.NET\" \/>\n<meta property=\"og:description\" content=\"Ted Unangst (tedu@) posted to the tech@ mailing list regarding recent changes to environment handling in doas (in -current):  [...] After some reflection, I&#039;ve been convinced that it&#039;s unlikely everybody reads the manuals, or that the manual...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/\" \/>\n<meta property=\"og:site_name\" content=\"WebDomino.NET\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-21T10:40:48+00:00\" \/>\n<meta name=\"author\" content=\"OpenBSD Journal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"OpenBSD Journal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/\",\"url\":\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/\",\"name\":\"doas environmental security - WebDomino.NET\",\"isPartOf\":{\"@id\":\"http:\/\/webdomino.net\/#website\"},\"datePublished\":\"2019-06-21T10:40:48+00:00\",\"dateModified\":\"2019-06-21T10:40:48+00:00\",\"author\":{\"@id\":\"http:\/\/webdomino.net\/#\/schema\/person\/5e6479eaee9a98381747d6c8acf6be72\"},\"breadcrumb\":{\"@id\":\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/webdomino.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"doas environmental security\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/webdomino.net\/#website\",\"url\":\"http:\/\/webdomino.net\/\",\"name\":\"WebDomino.NET\",\"description\":\"Global NEWS WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/webdomino.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/webdomino.net\/#\/schema\/person\/5e6479eaee9a98381747d6c8acf6be72\",\"name\":\"OpenBSD Journal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/webdomino.net\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/57d768f58e5bcb4c2a506e4e9cbd3a40?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/57d768f58e5bcb4c2a506e4e9cbd3a40?s=96&d=mm&r=g\",\"caption\":\"OpenBSD Journal\"},\"sameAs\":[\"http:\/\/undeadly.org\/\"],\"url\":\"http:\/\/webdomino.net\/index.php\/author\/openbsd-journal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"doas environmental security - WebDomino.NET","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/","og_locale":"en_US","og_type":"article","og_title":"doas environmental security - WebDomino.NET","og_description":"Ted Unangst (tedu@) posted to the tech@ mailing list regarding recent changes to environment handling in doas (in -current):  [...] After some reflection, I've been convinced that it's unlikely everybody reads the manuals, or that the manual...","og_url":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/","og_site_name":"WebDomino.NET","article_published_time":"2019-06-21T10:40:48+00:00","author":"OpenBSD Journal","twitter_misc":{"Written by":"OpenBSD Journal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/","url":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/","name":"doas environmental security - WebDomino.NET","isPartOf":{"@id":"http:\/\/webdomino.net\/#website"},"datePublished":"2019-06-21T10:40:48+00:00","dateModified":"2019-06-21T10:40:48+00:00","author":{"@id":"http:\/\/webdomino.net\/#\/schema\/person\/5e6479eaee9a98381747d6c8acf6be72"},"breadcrumb":{"@id":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webdomino.net\/index.php\/openbsd\/doas-environmental-security\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/webdomino.net\/"},{"@type":"ListItem","position":2,"name":"doas environmental security"}]},{"@type":"WebSite","@id":"http:\/\/webdomino.net\/#website","url":"http:\/\/webdomino.net\/","name":"WebDomino.NET","description":"Global NEWS WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/webdomino.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/webdomino.net\/#\/schema\/person\/5e6479eaee9a98381747d6c8acf6be72","name":"OpenBSD Journal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/webdomino.net\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/57d768f58e5bcb4c2a506e4e9cbd3a40?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/57d768f58e5bcb4c2a506e4e9cbd3a40?s=96&d=mm&r=g","caption":"OpenBSD Journal"},"sameAs":["http:\/\/undeadly.org\/"],"url":"http:\/\/webdomino.net\/index.php\/author\/openbsd-journal\/"}]}},"_links":{"self":[{"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/posts\/105216"}],"collection":[{"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/users\/174"}],"replies":[{"embeddable":true,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/comments?post=105216"}],"version-history":[{"count":1,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/posts\/105216\/revisions"}],"predecessor-version":[{"id":105217,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/posts\/105216\/revisions\/105217"}],"wp:attachment":[{"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/media?parent=105216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/categories?post=105216"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/webdomino.net\/index.php\/wp-json\/wp\/v2\/tags?post=105216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}