<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Reset &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/reset/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Tue, 13 Jul 2021 07:29:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Reset &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Reset WordPress Admin Password using MySQL Command Line</title>
		<link>https://help.hostry.com/knowledge-base/how-to-reset-wordpress-admin-password-using-mysql-command-line/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-reset-wordpress-admin-password-using-mysql-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 08 Jul 2021 11:06:04 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3992</guid>

					<description><![CDATA[WordPress is a very popular and sought after open source CMS. This CMS is written in PHP. This tool is fairly simple and reliable to use.However, while working, you may encounter such a problem as password management, and you can simply forget it. Without a key password, you will not [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://wordpress.com/">WordPress</a></strong> is a very popular and sought after open source CMS. This CMS is written in PHP. This tool is fairly simple and reliable to use.<br>However, while working, you may encounter such a problem as password management, and you can simply forget it. Without a key password, you will not be able to administer your site. Here&#8217;s how you can change your WordPress password. Changing the password will be done using the MySQL database.</p>



<h2 id="reset-wordpress-admin-password" >Reset WordPress admin password</h2>



<p>First, you need to be logged in with administrator rights to your <strong>MySQL</strong>. This is required in order to use the <strong>MySQL</strong> command line tool. The <strong>WordPress</strong> <strong>SQL</strong> record credentials are stored in a file called <strong><em>wp-config.php</em></strong> at the root of your website. To do this, you need the following lines inside a file called wp-config.php:</p>



<pre class="wp-block-code"><code>define('DB_NAME', 'myWordpressDB');
define('DB_USER', 'myUserName');
define('DB_PASSWORD', 'aVeryStrongPassword');
$table_prefix  = 'wp_';</code></pre>



<p>You will then be able to use this information to log into <strong>MySQL</strong> and make the necessary changes. Before moving on, we&#8217;ll make a full backup of the database:</p>



<pre class="wp-block-code"><code>mysqldump -umyUserName -paVeryStrongPassword myWordpressDB | gzip -9 &gt; myWordpressDB.sql.gz</code></pre>



<p>The next step is to log into your <strong>MySQL</strong> database. You can do it like this:</p>



<pre class="wp-block-code"><code>mysql -umyUserName -paVeryStrongPassword</code></pre>



<p>A list of available databases will be displayed:</p>



<pre class="wp-block-code"><code>show databases;

 +--------------------+
 | Database           |
 +--------------------+
 | myWordpressDB      |
 | information_schema |
 +--------------------+</code></pre>



<p>Of all the existing ones, you need to choose <strong><em>myWordpressDB</em></strong>. Enter the following command:</p>



<pre class="wp-block-code"><code>use myWordpressDB;</code></pre>



<p>Once you have successfully identified your <strong>WordPress</strong> base, you need to list all WordPress users along with their ID, username, and encrypted password:</p>



<pre class="wp-block-code"><code>SELECT ID, user_login, user_pass FROM wp_users;
+----+------------+------------------------------------+
| ID | user_login | user_pass                          |
+----+------------+------------------------------------+
|  1 | admin      | FGpPqio82fIYCZK$P$B0cVrK0Wh7A.7NK/ |
|  2 | name       | $P$BCFybroBJDFuv1oQdLIWcNp8jMCmsl1 |
+----+------------+------------------------------------+</code></pre>



<p>The first <strong>ID (1)</strong> is the priority and belongs to the main <strong>WordPress</strong> admin. Therefore, the password will be reset exactly to <strong>ID 1</strong></p>



<pre class="wp-block-code"><code>UPDATE wp_users SET user_pass=MD5('YourNewStrongPassword') WHERE ID = 1;</code></pre>



<p>After the procedure was successful, you can see that the user <strong>admin (1)</strong> already has a new password</p>



<pre class="wp-block-code"><code>+----+------------+------------------------------------+
| ID | user_login | user_pass                          |
+----+------------+------------------------------------+
|  1 | admin      | 00a95b8f755edd93daa0f3fdfb476936   |
|  2 | alex       | $P$BCFybroBJDFuv1oQdLIWcNp8jMCmsl1 |
+----+------------+------------------------------------+</code></pre>



<p>By default WordPress uses PasswordHash to encrypt the user&#8217;s password, which hashes it using 8 MD5 passes. However, the default MD5 hash is also acceptable, so this method works.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-reset-wordpress-admin-password-using-mysql-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Reset your linux Password</title>
		<link>https://help.hostry.com/knowledge-base/how-to-reset-your-linux-password/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-reset-your-linux-password/#respond</comments>
		
		<dc:creator><![CDATA[Paul Harris]]></dc:creator>
		<pubDate>Fri, 26 Jul 2019 08:07:49 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=400</guid>

					<description><![CDATA[It happens that the password of the system administrator is forgotten or the person who knows it is not available. It is possible to reset it if there is physical access to the server/computer or at least IP-KVM console. Access to the grub operating system selection menu is required When [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>It happens that the password of the system administrator is forgotten or the person who knows it is not available.  It is possible to reset it if there is physical access to the server/computer or at least IP-KVM console.</p>



<p>Access to the grub operating system selection menu is required  </p>



<h4 id="whengrub-2-is-installed" >When
grub 2 is installed.</h4>



<p>If the operating system selection menu appears when you boot your computer, you need to press the &#8216;e&#8217; key &#8211; we will go into edit mode.You need to find the line that starts with<strong> &#8216;linux /vmlinux &#8230;.&#8217;</strong>. In this line at the end you need to add a space-separated string <code>'init=/bin/bash' .</code></p>



<p>This will instruct the kernel to use /bin/bash to initialize the system instead of the <strong>/bin/init</strong> image. After booting, you must put the root file system in write mode</p>



<p><code>mount -no remount,rw /</code></p>



<p>Now, to set a new password, just type the command</p>



<p><code>passwd username</code></p>



<p>where instead of username substitute the name of the desired user even &#8216;root&#8217; superuser, and then</p>



<p><code>reboot </code></p>



<p>to restart the computer, or you can even type</p>



<p><code>exec /bin/init  </code></p>



<p>to continue booting the OS as if nothing had happened.  </p>



<h4 id="when-the-grub-operating-system-selection-menu-is-not-available" >When the GRUB operating system selection menu is not available.</h4>



<p>If you have for one reason or another disabled the choice of operating systems at boot, the password can be reset using any LiveCD with Linux. To do this, you need to boot from the LiveCD, connect your root partition, and then set an empty password to the user by editing the /etc/shadow and /etc/shadow files &#8211; on this section, as described here. You can now reboot into your system and log in with an empty password.  </p>



<p>Most importantly do not forget to write down in a secure location the new password to not to resort again to this procedure</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-reset-your-linux-password/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
