{"id":150,"date":"2014-10-14T20:17:43","date_gmt":"2014-10-14T20:17:43","guid":{"rendered":"http:\/\/adrhc.go.ro\/wordpress\/?p=150"},"modified":"2014-10-14T20:17:43","modified_gmt":"2014-10-14T20:17:43","slug":"ubuntu-enabling-the-root-account","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/ubuntu-enabling-the-root-account\/","title":{"rendered":"Ubuntu: Enabling the root account"},"content":{"rendered":"<p>Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate a Root login shell using the following command&#8230;<\/p>\n<pre class=\"brush:bash shell\">sudo -i<\/pre>\n<h5>To enable the Root account (i.e. set a password) use:<\/h5>\n<pre class=\"brush:bash shell\">sudo passwd root<\/pre>\n<p>Logging in to X as root may cause very serious trouble. If you believe you need a root account to perform a certain action, please consult the official support channels first, to make sure there is not a better alternative.<\/p>\n<h5>Re-disabling your root account<\/h5>\n<p>If for some reason you have enabled your root account and wish to disable it again, use the following command in terminal&#8230;<\/p>\n<pre class=\"brush:bash shell\">sudo passwd -dl root<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/ubuntu-enabling-the-root-account\/#more-150\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Ubuntu: Enabling the root account<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}