<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Drupal 9 on Michael’s Domain</title><link>https://jeltsch.org/fi/tags/drupal-9/</link><description>Recent content in Drupal 9 on Michael’s Domain</description><generator>Hugo</generator><language>fi</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/fi/tags/drupal-9/index.xml" rel="self" type="application/rss+xml"/><item><title>Drupal 9:n admin (käyttäja #1) -salananan muuttaminen</title><link>https://jeltsch.org/fi/reset_the_admin_user_password_in_drupal_9/</link><pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate><guid>https://jeltsch.org/fi/reset_the_admin_user_password_in_drupal_9/</guid><description>&lt;p&gt;Olen kokeillut hieman Drupal 9:ää ja unohtanut samalla admin-salasanan. Jos sinullekin käy näin, siirry Drupal-asennuksen juurihakemistoon.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Luo salasanasi hash:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;php core/scripts/password-hash.sh &amp;#39;newpasswd&amp;#39;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol start="2"&gt;
&lt;li&gt;Suorita seuraava komento MySQL:ssä:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;UPDATE users_field_data SET pass=&amp;#39;lisää_tähän_edellisen_komennon_hash-tulos&amp;#39; WHERE uid = 1;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol start="3"&gt;
&lt;li&gt;Tyhjennä välimuisti:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;DELETE FROM cache_entity WHERE cid = &amp;#39;values:user:1&amp;#39;;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Admin salasanan nollaaminen Drupal 9:ssä</title><link>https://jeltsch.org/fi/reset_admin_password_in_drupal_9/</link><pubDate>Sat, 09 Apr 2022 00:00:00 +0000</pubDate><guid>https://jeltsch.org/fi/reset_admin_password_in_drupal_9/</guid><description>&lt;ol&gt;
&lt;li&gt;Siirry Drupal-asennuksen juurikansioon&lt;/li&gt;
&lt;li&gt;Luo salasanallesi hajautusarvo: php core/scripts/password-hash.sh &amp;rsquo;newpasswd'&lt;/li&gt;
&lt;li&gt;Suorita MySQL:ssä: UPDATE users_field_data SET pass=&amp;lsquo;edellisen komennon hash-tulos_tulee_tähän&amp;rsquo; WHERE uid = 1;&lt;/li&gt;
&lt;li&gt;Tyhjennä välimuisti: DELETE FROM cache_entity WHERE cid = &amp;lsquo;values:user:1&amp;rsquo;;&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>