{"id":82,"date":"2008-06-13T20:49:00","date_gmt":"2008-06-13T23:49:00","guid":{"rendered":"http:\/\/www.franklinjr.com\/blog\/index.php\/2008\/06\/13\/como-recuperar-senha-de-root-pelo-grub\/"},"modified":"2008-06-13T21:25:40","modified_gmt":"2008-06-14T00:25:40","slug":"como-recuperar-senha-de-root-pelo-grub","status":"publish","type":"post","link":"https:\/\/www.franklinjr.com\/blog\/index.php\/2008\/06\/13\/como-recuperar-senha-de-root-pelo-grub\/","title":{"rendered":"Como recuperar senha de root pelo grub"},"content":{"rendered":"<p>Reinicia a m\u00e1quina, quando chegar no grub aperta &#8220;e&#8221;, a\u00ed tu seleciona o boot que tu usa e aperta &#8220;e&#8221; de novo, vai da pra edita aquela linha, por exemplo:<\/p>\n<p><font color=\"#008000\">&#8220;kernel     \/boot\/vmlinuz-2.6.18.3 root=\/dev\/hdb1 ro vga=791&#8221;<\/font><\/p>\n<p>a\u00ed tu apaga tudo que vem depois da parti\u00e7\u00e3o e coloca <font color=\"#008000\">rw<\/font> <font color=\"#008000\">init=\/bin\/bash<\/font>, ent\u00e3o fica assim:<\/p>\n<p><font color=\"#008000\"> &#8220;kernel     \/boot\/vmlinuz-2.6.18.3 root=\/dev\/hdb1 rw init=\/bin\/bash&#8221;<\/font><\/p>\n<p>depois que fizer isso, d\u00e1 um &#8220;enter&#8221; e aperta &#8220;b&#8221; pra ela inicia o boot, a\u00ed vai entra em modo texto, tipo isso:<\/p>\n<p><font color=\"#008000\">init-2.06# <\/font><\/p>\n<p>a\u00ed tu vai da esse comando pro barra (&#8220;\/&#8221;) ter permiss\u00e3o de escrita:<\/p>\n<p><font color=\"#008000\">mount \/ -o remount,rw<\/font><\/p>\n<p>depois disso \u00e9 s\u00f3 troca a senha:<\/p>\n<p><font color=\"#008000\">passwd<\/font><br \/>\nnova senha:<br \/>\nconfirma:<br \/>\n<font color=\"#008000\">reboot<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reinicia a m\u00e1quina, quando chegar no grub aperta &#8220;e&#8221;, a\u00ed tu seleciona o boot que tu usa e aperta &#8220;e&#8221; de novo, vai da pra edita aquela linha, por exemplo: &#8220;kernel \/boot\/vmlinuz-2.6.18.3 root=\/dev\/hdb1 ro vga=791&#8221; a\u00ed tu apaga tudo que vem depois da parti\u00e7\u00e3o e coloca rw init=\/bin\/bash, ent\u00e3o fica assim: &#8220;kernel \/boot\/vmlinuz-2.6.18.3 root=\/dev\/hdb1 rw [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,4],"tags":[157,156,158,558,155,154,153],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-linux","category-coisas-uteis","tag-admin","tag-administrador","tag-administrator","tag-linux","tag-pass","tag-password","tag-recuperando"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>Como recuperar senha de root pelo grub - Franklin Jr.<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.franklinjr.com\/blog\/index.php\/2008\/06\/13\/como-recuperar-senha-de-root-pelo-grub\/\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/index.php\\\/2008\\\/06\\\/13\\\/como-recuperar-senha-de-root-pelo-grub\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Como recuperar senha de root pelo grub\"}]}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como recuperar senha de root pelo grub - Franklin Jr.","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:\/\/www.franklinjr.com\/blog\/index.php\/2008\/06\/13\/como-recuperar-senha-de-root-pelo-grub\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.franklinjr.com\/blog\/index.php\/2008\/06\/13\/como-recuperar-senha-de-root-pelo-grub\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.franklinjr.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Como recuperar senha de root pelo grub"}]}]}},"_links":{"self":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":0,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}