{"id":381,"date":"2016-01-21T11:24:00","date_gmt":"2016-01-21T11:24:00","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=381"},"modified":"2016-01-21T11:24:00","modified_gmt":"2016-01-21T11:24:00","slug":"manually-change-rackspace-root-password-for-cloud-server","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/01\/21\/manually-change-rackspace-root-password-for-cloud-server\/","title":{"rendered":"Manually change Rackspace root password for Cloud Server"},"content":{"rendered":"<p>If you lose your password to your machine, and aren&#8217;t able to reset the password for your VM thru the mycloud control panel, then it&#8217;s possible to do this manually by putting the server into rescue mode and chrooting. Here is how ;<\/p>\n<p>1. Put server into rescue mode. Noting the root password autogenerated for the rescue mode.<\/p>\n<p><a href=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2016\/01\/Screen-Shot-2016-01-21-at-11.14.26-AM.png\" rel=\"attachment wp-att-382\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2016\/01\/Screen-Shot-2016-01-21-at-11.14.26-AM.png\" alt=\"Screen Shot 2016-01-21 at 11.14.26 AM\" width=\"541\" height=\"446\" class=\"alignnone size-full wp-image-382\" srcset=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/01\/Screen-Shot-2016-01-21-at-11.14.26-AM.png 541w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/01\/Screen-Shot-2016-01-21-at-11.14.26-AM-300x247.png 300w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/01\/Screen-Shot-2016-01-21-at-11.14.26-AM-364x300.png 364w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><br \/>\n2. Login to server via web console or ssh<br \/>\n3. Mount the &#8216;old&#8217; original disk (usually partition xvdb1).<\/p>\n<pre>\r\n mount \/dev\/xvdb1 \/mnt\r\n<\/pre>\n<p>4. Chroot to the &#8216;old&#8217; original disk<\/p>\n<pre>  \r\nchroot \/mnt\r\n<\/pre>\n<p>5. Change the root passwd<\/p>\n<pre>\r\n passwd\r\n<\/pre>\n<p>7. Take the server out of rescue mode.<br \/>\n8. You should now be able to login to the server using the new root password. (done in the same way as putting it into rescue mode)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you lose your password to your machine, and aren&#8217;t able to reset the password for your VM thru the mycloud control panel, then it&#8217;s possible to do this manually by putting the server into rescue mode and chrooting. Here &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/01\/21\/manually-change-rackspace-root-password-for-cloud-server\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,9,3],"tags":[],"class_list":["post-381","post","type-post","status-publish","format-standard","hentry","category-cloud","category-linux","category-security"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=381"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/381\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/381\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}