<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>recovery on Tutes Club</title><link>https://tutes.in/tag/recovery/</link><description>Recent content in recovery on Tutes Club</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 23 Jul 2018 21:29:50 +0000</lastBuildDate><atom:link href="https://tutes.in/tag/recovery/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux – Rescue disk how to reset root password and unblock yourself if locked out</title><link>https://tutes.in/linux-rescue-disk-how-to-reset-root-password-and-unblock-yourself-if-locked-out/</link><pubDate>Mon, 23 Jul 2018 21:14:17 +0000</pubDate><guid>https://tutes.in/linux-rescue-disk-how-to-reset-root-password-and-unblock-yourself-if-locked-out/</guid><description>&lt;p&gt;Centos as test server&lt;/p&gt;
&lt;p&gt;Current situation – you are locked out, cant use WHM or SSH or anything else to login.&lt;br&gt;
You may or may not remember the password. In any case you can reproduce the following steps to unblock yourself.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use any other linux OS cd which can run live. I prefer FINNIX iso for such cases\&lt;/li&gt;
&lt;li&gt;Mount your main disk.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mount /dev/vda1 /mnt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="3"&gt;
&lt;li&gt;Reset password if needed to&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chroot /mnt passwd
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="4"&gt;
&lt;li&gt;Enter new password for root and confirm\&lt;/li&gt;
&lt;li&gt;Reboot and done.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In case you have been locked out due to WHM cpanel:\&lt;/p&gt;</description></item></channel></rss>