<?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=2103&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / 2 problems,revert system change and change password for user]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2103</link>
		<description><![CDATA[The most recent posts in 2 problems,revert system change and change password for user.]]></description>
		<lastBuildDate>Tue, 29 May 2018 09:46:38 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: 2 problems,revert system change and change password for user]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=9533#p9533</link>
			<description><![CDATA[<p>I would think the first problem is due to the PAM configuration, though I don&#039;t remember exactly. Please show <span class="bbc">/etc/pam.d/common-auth</span> and <span class="bbc">/etc/pam.d/common-password</span>; it might trigger my memory <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT: as I remember, when one of those files has the <span class="bbc">use_authtok</span> option for the <span class="bbc">pam_unix.so</span> module, then it&#039;s impossible for an <span class="bbc">su</span> root user to change anyone&#039;s password. The solution would be to not have that option. See <span class="bbc">man pam_unix</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 29 May 2018 09:46:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=9533#p9533</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2 problems,revert system change and change password for user]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=9532#p9532</link>
			<description><![CDATA[<div class="quotebox"><cite>gnufan wrote:</cite><blockquote><div><p>So I have two questions, firstly how do I reset my user password ?</p></div></blockquote></div><p>Just run <span class="bbc">passwd</span> – without <span class="bbc">sudo</span> and a username. See <span class="bbc">man passwd</span> for additional information.</p><div class="quotebox"><cite>gnufan wrote:</cite><blockquote><div><p>Secondly, how do I revert the following commands &quot;mount -o remount,rw /&quot; and then &quot;chmod 640 /etc/shadow&quot; so my system can return back to its original state ?</p></div></blockquote></div><p>1. As far as I can see, running <span class="bbc">chmod 640</span> on <span class="bbc">/etc/shadow</span> doesn&#039;t change anything because the file already has those permission settings by default. Btw, fiddling with the permission settings of system files belonging to root is risky and should only be done if you know what you&#039;re doing.</p><p>2. As for the <span class="bbc">mount</span> command, a reboot should set you back to normal, since that command doesn&#039;t change anything in <span class="bbc">/etc/fstab</span>.</p><div class="quotebox"><cite>gnufan wrote:</cite><blockquote><div><p>Thanks for working on this great distro, I have just changed from Ubuntu and I think it is great. :-)</p></div></blockquote></div><p>Welcome to Devuan!</p>]]></description>
			<author><![CDATA[dummy@example.com (msi)]]></author>
			<pubDate>Tue, 29 May 2018 09:39:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=9532#p9532</guid>
		</item>
		<item>
			<title><![CDATA[2 problems,revert system change and change password for user]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=9531#p9531</link>
			<description><![CDATA[<p>Hi, I have a quick 2 problem that i cannot seem to solve. I am a bit of a noob so sorry in advance if questions are&#160; a bit easy. <br /> I am running Devuan Jessie. I try to change the password for the user using the following command: sudo passwd USER , but was unable to change the password, i got an error, &quot;authentication-token-manipulation-error&quot;.&#160; so I did some research and found that it may have something to do with the fact that certain file permissions were not allowing me write. I then ran the following commands, &quot;mount -o remount,rw /&quot; and then &quot;chmod 640 /etc/shadow&quot; but still got the same error.</p><p>So I have two questions, firstly how do I reset my user password ?<br />Secondly, how do I revert the following commands &quot;mount -o remount,rw /&quot; and then &quot;chmod 640 /etc/shadow&quot; so my system can return back to its original state ? which commands should I run</p><p>I know that the command &quot;mount -o remount,rw /&quot;&#160; dismounts the root partition and then mounts it again as read/write. Is this a safe state ? I am assuming not, so I would like to return to the original permissions for the root partition.</p><p>It has done this, with multiple USB sticks, but yesterday this unmount function was working fine. </p><p>Thanks for working on this great distro, I have just changed from Ubuntu and I think it is great. :-)</p><p>&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (gnufan)]]></author>
			<pubDate>Tue, 29 May 2018 08:44:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=9531#p9531</guid>
		</item>
	</channel>
</rss>
