{"id":481,"date":"2012-08-30T05:53:46","date_gmt":"2012-08-30T05:53:46","guid":{"rendered":"http:\/\/www.extradrm.com\/?p=481"},"modified":"2012-08-30T05:53:46","modified_gmt":"2012-08-30T05:53:46","slug":"recover-a-forgotten-password-for-centos","status":"publish","type":"post","link":"https:\/\/www.extradrm.com\/?p=481","title":{"rendered":"Recover a forgotten Password for Centos"},"content":{"rendered":"<p>First, Try single user.<br \/>\nIf you don&#8217;t see either a <strong>LILO or <span style=\"color: #000000;\">GRUB<\/span><\/strong> boot screen, try hitting <strong>CTRL-X<\/strong> to get one.<\/p>\n<pre>If it's <span style=\"color: #000000;\">LILO<\/span>, just type \"linux single\" and that should do it (assuming that \"linux\" is the lilo label).\nIf GRUB, hit '<strong>e<\/strong>\", then select the \"<strong>kernel<\/strong>\" line, hit \"<strong>e<\/strong>\" again, and add \"<strong> single<\/strong>\" (or just \" <strong>1<\/strong>\") to the end of the line\n\n<code>ro root=LABEL=\/ rhgb quiet<\/code>\n\nPress ENTER, and then \"<strong>b<\/strong>\" to boot.<\/pre>\n<p>You should get a fairly normal looking boot sequence except that it terminates a little early at a bash prompt\u00a0 like below.<\/p>\n<pre>sh-3.2#<\/pre>\n<p>Type the command :<\/p>\n<pre>sh-3.2# <strong>passwd<\/strong><\/pre>\n<p>If you get a &#8220;Give root password for system maintenance&#8221;, this isn&#8217;t going to work &#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, Try single user. If you don&#8217;t see either a LILO or GRUB boot screen, try hitting CTRL-X to get one. If it&#8217;s LILO, just type &#8220;linux single&#8221; and that should do it (assuming&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2843,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[46,62,65,78,94,103],"youtube_video":null,"_links":{"self":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/481"}],"collection":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=481"}],"version-history":[{"count":0,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/media\/2843"}],"wp:attachment":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}