{"id":1090,"date":"2020-10-23T19:49:27","date_gmt":"2020-10-24T00:49:27","guid":{"rendered":"https:\/\/truxgoservers.com\/blog\/?p=1090"},"modified":"2020-10-23T19:49:29","modified_gmt":"2020-10-24T00:49:29","slug":"everything-we-need-to-know-to-activate-root-in-linux","status":"publish","type":"post","link":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/","title":{"rendered":"Everything we need to know to activate Root in Linux"},"content":{"rendered":"\n<p>When we want to do some specific tasks on our Linux system it is necessary to have Root permissions. Normally, when the system is installed on our disk, it has created a user account and asked us to assign a password. Let&#8217;s take into account that our user, that is, the one we are going to use, is an administrator account but it is not the same as root.<\/p>\n\n\n\n<p>First things first, to see if we have the Linux root user active (usually not the case), we are going to open a terminal window. In it we are going to type the following:<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em><\/strong> <strong><em>sudo su<\/em><\/strong><\/p>\n\n\n\n<p>If our Root account is activated, then the following character will appear: <strong><em>#<\/em><\/strong><\/p>\n\n\n\n<p>But if our root user is disabled, we will receive the message: <\/p>\n\n\n\n<p><strong><em>\u25b8 root order not found<\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Activate root on Linux<\/h2>\n\n\n\n<p>The first thing we have to do for activate our Root is to open a terminal, and in it we are going to write the <strong><em>sudo<\/em><\/strong> command adding the request to register a password for the root user:<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em><\/strong> <strong><em>sudo passwd root<\/em><\/strong><\/p>\n\n\n\n<p>If we did it correctly, a message will appear in our terminal (Keep in mind that it is best to store your password to avoid problems in the future): <\/p>\n\n\n\n<p><strong><em>\u25b8 passwd: password updated correctly<\/em><\/strong><\/p>\n\n\n\n<p>Following these steps we would have our new Root account and you can check it as mentioned before with the following commands which will show if our root system is active:<\/p>\n\n\n\n<p><strong><em>\u25b8 sudo su<\/em><\/strong><\/p>\n\n\n\n<p>If all is well, the <strong><em>#<\/em><\/strong> character will appear indicating that our root user is active.<\/p>\n\n\n\n<p>Another way is to log out of our main account, and log in with the root user. In the login window, we have to change the default username, and enter the name: root. As a password we are going to write the one we chose previously.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we want to do some specific tasks on our Linux system it is necessary to have Root permissions. Normally, when the system is installed on our disk, it has created a user account and asked us to assign a password. Let&#8217;s take into account that our user, that is, the one we are going [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1091,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[27,33],"class_list":["post-1090","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-tutorial","tag-linux","tag-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Everything we need to know to activate Root in Linux - Truxgo Server Blog<\/title>\n<meta name=\"description\" content=\"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Everything we need to know to activate Root in Linux - Truxgo Server Blog\" \/>\n<meta property=\"og:description\" content=\"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Truxgo Server Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-24T00:49:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-24T00:49:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png\" \/>\n\t<meta property=\"og:image:width\" content=\"728\" \/>\n\t<meta property=\"og:image:height\" content=\"380\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Truxgo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Truxgo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/\"},\"author\":{\"name\":\"Truxgo\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\"},\"headline\":\"Everything we need to know to activate Root in Linux\",\"datePublished\":\"2020-10-24T00:49:27+00:00\",\"dateModified\":\"2020-10-24T00:49:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/\"},\"wordCount\":316,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Linux-Root.png\",\"keywords\":[\"Linux\",\"Tutorial\"],\"articleSection\":[\"Linux\",\"Tutorial\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/\",\"name\":\"Everything we need to know to activate Root in Linux - Truxgo Server Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Linux-Root.png\",\"datePublished\":\"2020-10-24T00:49:27+00:00\",\"dateModified\":\"2020-10-24T00:49:29+00:00\",\"description\":\"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Linux-Root.png\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/Linux-Root.png\",\"width\":728,\"height\":380},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/everything-we-need-to-know-to-activate-root-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Everything we need to know to activate Root in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"name\":\"Truxgo Server Blog\",\"description\":\"Cloud Server and Hosting Tutorials.\",\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\",\"name\":\"Truxgo Server Blog\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"width\":1250,\"height\":278,\"caption\":\"Truxgo Server Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\",\"name\":\"Truxgo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"caption\":\"Truxgo\"},\"sameAs\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\"],\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/author\\\/truxgo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Everything we need to know to activate Root in Linux - Truxgo Server Blog","description":"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.","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:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/","og_locale":"es_MX","og_type":"article","og_title":"Everything we need to know to activate Root in Linux - Truxgo Server Blog","og_description":"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.","og_url":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/","og_site_name":"Truxgo Server Blog","article_published_time":"2020-10-24T00:49:27+00:00","article_modified_time":"2020-10-24T00:49:29+00:00","og_image":[{"width":728,"height":380,"url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png","type":"image\/png"}],"author":"Truxgo","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Truxgo","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#article","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/"},"author":{"name":"Truxgo","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e"},"headline":"Everything we need to know to activate Root in Linux","datePublished":"2020-10-24T00:49:27+00:00","dateModified":"2020-10-24T00:49:29+00:00","mainEntityOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/"},"wordCount":316,"commentCount":0,"publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png","keywords":["Linux","Tutorial"],"articleSection":["Linux","Tutorial"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/","url":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/","name":"Everything we need to know to activate Root in Linux - Truxgo Server Blog","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png","datePublished":"2020-10-24T00:49:27+00:00","dateModified":"2020-10-24T00:49:29+00:00","description":"For those people who may have problems having to create a root account on our Linux system, we explain step by step how to do it.","breadcrumb":{"@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#primaryimage","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/10\/Linux-Root.png","width":728,"height":380},{"@type":"BreadcrumbList","@id":"https:\/\/truxgoservers.com\/blog\/everything-we-need-to-know-to-activate-root-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truxgoservers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Everything we need to know to activate Root in Linux"}]},{"@type":"WebSite","@id":"https:\/\/truxgoservers.com\/blog\/#website","url":"https:\/\/truxgoservers.com\/blog\/","name":"Truxgo Server Blog","description":"Cloud Server and Hosting Tutorials.","publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truxgoservers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/truxgoservers.com\/blog\/#organization","name":"Truxgo Server Blog","url":"https:\/\/truxgoservers.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","width":1250,"height":278,"caption":"Truxgo Server Blog"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e","name":"Truxgo","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","caption":"Truxgo"},"sameAs":["https:\/\/truxgoservers.com\/blog"],"url":"https:\/\/truxgoservers.com\/blog\/author\/truxgo\/"}]}},"_links":{"self":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/comments?post=1090"}],"version-history":[{"count":2,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1090\/revisions"}],"predecessor-version":[{"id":1094,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/1090\/revisions\/1094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media\/1091"}],"wp:attachment":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media?parent=1090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/categories?post=1090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/tags?post=1090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}