{"id":408,"date":"2016-03-25T20:50:37","date_gmt":"2016-03-26T00:50:37","guid":{"rendered":"http:\/\/deadpelican.com\/wordpress\/?p=408"},"modified":"2016-03-25T20:50:37","modified_gmt":"2016-03-26T00:50:37","slug":"root-not-root-and-back-again","status":"publish","type":"post","link":"https:\/\/deadpelican.com\/wordpress\/?p=408","title":{"rendered":"root, not root and back again."},"content":{"rendered":"<p>I used to be of the mind that it&#8217;s my machine, and I&#8217;m going to log in as root because I don&#8217;t need to be hindered from doing what I want on my machine.<\/p>\n<p>Over the years I gradually saw the wisdom of doing most things as a non root user, because it protects me from making dangerous mistakes, and it enables me to set up my system so I can share it with other people, and also there&#8217;s more and more software that complains that it doesn&#8217;t want to run as root.<\/p>\n<p>But now I work at a job where I do a lot of things that involve being root a lot of the time. What you ask? Reading raw data from block devices mostly, updating system configuration that needs to change a lot. And I find typing sudo su plus my password all the time to be real annoying. The computer is supposed to be a tool for the human, not a tool to the human.<br \/>\nAlso with the advent of virtual machines and containers there&#8217;s almost no need to ever share a machine with another person, you can always make them their own vm or container.<\/p>\n<p>So I&#8217;m starting to lean back towards the logging-in-as-root side, because again, it really is my machine and I can do what I want with it, and having it stop me all the time so I can type &#8220;sudo su +password&#8221;, is annoying, since I&#8217;m just going to run the same command again anyway, and if it was a mistake, it&#8217;s just that much longer to make it happen before I can go fix my mistake.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used to be of the mind that it&#8217;s my machine, and I&#8217;m going to log in as root because I don&#8217;t need to be hindered from doing what I want on my machine. Over the years I gradually saw the wisdom of doing most things as a non root user, because it protects me [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-notes"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=408"}],"version-history":[{"count":2,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deadpelican.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}