{"id":231136,"date":"2026-04-04T10:00:00","date_gmt":"2026-04-04T14:00:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/04\/04\/i-switched-from-sudo-to-doas-and-now-my-permission-rules-actually-make-sense\/"},"modified":"2026-04-04T12:00:13","modified_gmt":"2026-04-04T16:00:13","slug":"i-switched-from-sudo-to-doas-and-now-my-permission-rules-actually-make-sense","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/04\/04\/i-switched-from-sudo-to-doas-and-now-my-permission-rules-actually-make-sense\/","title":{"rendered":"I switched from sudo to doas and now my permission rules actually make sense"},"content":{"rendered":"<p><a href=\"https:\/\/www.makeuseof.com\/switched-sudo-to-doas-now-permission-rules-make-sense\/\">I switched from sudo to doas and now my permission rules actually make sense<\/a><\/p>\n<p><a href=\"https:\/\/www.makeuseof.com\/switched-sudo-to-doas-now-permission-rules-make-sense\/\">https:\/\/www.makeuseof.com\/switched-sudo-to-doas-now-permission-rules-make-sense\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-04-04 10:00:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.makeuseof.com\">www.makeuseof.com<\/a><\/p>\n<p>Sudo is a command that&#8217;s become muscle memory for just about every Linux user on the planet. Whenever you need to run something with elevated privileges, sudo just comes up automatically. But sudo is old, and there&#8217;s a better way to elevate privileges in the Linux terminal you might be ignoring.<\/p>\n<p>Just like switching from a &#8220;daily driver&#8221; OS can improve your workflow instantly, switching from sudo to doas on Linux can do the same for your terminal workflow. I made the switch, and my permission rules finally make sense.<\/p>\n<h2 id=\"sudo-is-powerful-mdash-but-way-too-messy\">\n                        Sudo is powerful\u2014but way too messy<br \/>\n               <\/h2>\n<h3 id=\"overcomplicated-rules-that-most-people-barely-understand\">\n            Overcomplicated rules that most people barely understand<br \/>\n    <\/h3>\n<p>        Screenshot taken by Yadullah Abidi | No attribution required.<\/p>\n<p>Sudo is everywhere. It ships with Ubuntu, Fedora, Arch, and just about every major Linux distro you&#8217;ve ever heard of. For most Linux users, it&#8217;s the prefix you use before a command when your user account doesn&#8217;t have permission to run it, and that&#8217;s it. It&#8217;s one of those Linux terminal commands that fix most system problems.<\/p>\n<p>However, the problem is sudo&#8217;s complexity. The sudo source code is approximately 160,000 lines of C. If you include configuration and support files, that number goes over 223,000. For a tool whose primary job is to run a given command as root, that&#8217;s a staggering amount of code running a privileged process.<\/p>\n<p>               &#8230;<br \/>\n<br \/><a href=\"https:\/\/www.makeuseof.com\/switched-sudo-to-doas-now-permission-rules-make-sense\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I switched from sudo to doas and now my permission rules actually make sense https:\/\/www.makeuseof.com\/switched-sudo-to-doas-now-permission-rules-make-sense\/&#8230;<\/p>\n","protected":false},"author":1,"featured_media":231137,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/static0.makeuseofimages.com\/wordpress\/wp-content\/uploads\/wm\/2026\/04\/doas-neofetch-command-running-on-linux-mint-terminal.JPG?w=1600&h=900&fit=crop","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[97,71,110,79],"class_list":["post-231136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-fedora","tag-linux","tag-linux-mint","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/231136"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=231136"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/231136\/revisions"}],"predecessor-version":[{"id":231138,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/231136\/revisions\/231138"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/231137"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=231136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=231136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=231136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}