<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4132&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / SOLVED  refract pw not working after install]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4132</link>
		<description><![CDATA[The most recent posts in SOLVED  refract pw not working after install.]]></description>
		<lastBuildDate>Sat, 20 Feb 2021 14:32:17 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: SOLVED  refract pw not working after install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27565#p27565</link>
			<description><![CDATA[<p>Thanks. I never noticed that. Most of my installs are tests, so I use very short passwords. The yad dialog window only takes 18 characters, but it stores more if you type them. I&#039;m not sure why it didn&#039;t use your long password.</p><p>I tried running the code in a terminal (as root), and it works. I&#039;ll have to try it in an install.</p><p>Here&#039;s the code for that window with the output of my 20-character password entry.</p><div class="codebox"><pre><code>~# pass_entry=$(yad --form --title=$&quot;Configure $pass_dialog password&quot; --center --borders=10 --button=$&quot;OK&quot;:0 \
--text=$&quot;You should reset the $pass_dialog password.\nUse TAB to change fields.&quot; \
--field=$&quot;Enter new $pass_dialog password::H&quot; \
--field=$&quot;Confirm new $pass_dialog password::H&quot;  \
--field=$&quot;Use current password\? (not recommended)&quot;:CHK \
&quot;$field_four&quot;)
12345678901234567890|12345678901234567890|FALSE|</code></pre></div><p>Trim the output, check it and feed it into the passwd command, and it works.</p><div class="codebox"><pre><code>newpass=$(echo $pass_entry|awk -F &quot;|&quot; &#039;{print $1}&#039;)
echo $newpass
12345678901234567890

/bin/bash -c &quot;echo -e \&quot;$newpass\n$newpass\n\&quot; | passwd $newusername&quot;
New password: Retype new password: passwd: password updated successfully</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 20 Feb 2021 14:32:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27565#p27565</guid>
		</item>
		<item>
			<title><![CDATA[SOLVED  refract pw not working after install]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27546#p27546</link>
			<description><![CDATA[<p>i also tried the default passowrds as well and they are not working.&#160; what the what?&#160; i know i changed them and that they matched or the thing wouldnt have allowed the next step... which i think was exiting and rebooting.&#160; OI&#160; how to get around THAT?&#160; is 18 characters too long for refracta or something?</p><p>apparently so</p><p>so here we are.&#160; installed a thgird time with an 8 digit password and changed it after first boot to what i want it to be</p>]]></description>
			<author><![CDATA[dummy@example.com (LizziAS)]]></author>
			<pubDate>Sat, 20 Feb 2021 05:29:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27546#p27546</guid>
		</item>
	</channel>
</rss>
