{"id":244,"date":"2020-07-23T21:35:16","date_gmt":"2020-07-23T21:35:16","guid":{"rendered":"http:\/\/metajack.org\/blog\/?p=244"},"modified":"2020-07-23T21:35:16","modified_gmt":"2020-07-23T21:35:16","slug":"reset-centos-8-root-password","status":"publish","type":"post","link":"https:\/\/metajack.org\/blog\/2020\/07\/23\/reset-centos-8-root-password\/","title":{"rendered":"Reset Centos 8 root password"},"content":{"rendered":"\n<p>reboot the server<\/p>\n\n\n\n<p>at grub menu, press up\/down to pause auto booting<\/p>\n\n\n\n<p>select top menu item, press e (to edit)<\/p>\n\n\n\n<p>in editing menu, go to end of line starting with &#8220;linux&#8221; and add &#8220;rd.break&#8221;<\/p>\n\n\n\n<p>press control-x to boot using this edited grub command line<\/p>\n\n\n\n<p>when the server starts you should not have to login<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>at the prompt, type :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mount -o remount,rw \/sysroot\/\nchroot \/sysroot\npasswd root\nshutdown -r now<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>reboot the server at grub menu, press up\/down to pause auto booting select top menu item, press e (to edit) in editing menu, go to end of line starting with &#8220;linux&#8221; and add &#8220;rd.break&#8221; press control-x to boot using this edited grub command line when the server starts you should not have to login at &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/metajack.org\/blog\/2020\/07\/23\/reset-centos-8-root-password\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Reset Centos 8 root password&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":1,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/244\/revisions\/245"}],"wp:attachment":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}