{"id":1614,"date":"2015-10-30T08:22:20","date_gmt":"2015-10-30T13:22:20","guid":{"rendered":"http:\/\/swildow.darktech.org\/wp\/?p=1614"},"modified":"2015-10-30T08:22:20","modified_gmt":"2015-10-30T13:22:20","slug":"enabling-the-root-account","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=1614","title":{"rendered":"Enabling The Root Account"},"content":{"rendered":"<h4>Enabling The Root Account<\/h4>\n<p>By default the root account is disabled, but you can enable it by using this command and giving it a password<\/p>\n<pre><code>\r\nsudo passwd root\r\n<\/code><\/pre>\n<p>Now you can log into your pi as the root user. \u00a0Whilst this opens\u00a0up security concerns its sometimes very useful, for instance when developing\u00a0with netbeans and remotely running applicaiotn that access the IO pins.<\/p>\n<p>If it doesn&#8217;t work\u00a0check the ssh config<\/p>\n<pre><code>\r\nsudo nano \/etc\/ssh\/sshd_config\r\n<\/code><\/pre>\n<p>Search for PermitRootLogin and change it to yes<\/p>\n<p>You can undo logging in as root again\u00a0using this command<\/p>\n<pre><code>\r\nsudo passwd -l root\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enabling The Root Account By default the root account is disabled, but you can enable it by using this command and giving it a password sudo passwd root Now you can log into your pi as the root user. \u00a0Whilst &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=1614\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1614","post","type-post","status-publish","format-standard","hentry","category-raspberrypi"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1614"}],"version-history":[{"count":1,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1614\/revisions"}],"predecessor-version":[{"id":1616,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1614\/revisions\/1616"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1614"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}