<?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=8265&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Restarting sddm makes regular user part of the root group]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8265</link>
		<description><![CDATA[The most recent posts in Restarting sddm makes regular user part of the root group.]]></description>
		<lastBuildDate>Mon, 26 Oct 2026 07:27:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Restarting sddm makes regular user part of the root group]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66245#p66245</link>
			<description><![CDATA[<p>Nope <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>even after adding that line it still shows that I am part of root</p>]]></description>
			<author><![CDATA[dummy@example.com (natanel)]]></author>
			<pubDate>Mon, 26 Oct 2026 07:27:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66245#p66245</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restarting sddm makes regular user part of the root group]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66244#p66244</link>
			<description><![CDATA[<p>As a suggestion, you might try editing <span class="bbc">/etc/pam.d/sddm</span> to make the line </p><div class="codebox"><pre><code>@include common-auth</code></pre></div><p> be the two lines</p><div class="codebox"><pre><code>@include common-auth
auth optional pam_group.so</code></pre></div><p>I&#039;m hoping that might make the login procedure via sddm more aligned with the procedure of tty login and in particular add a <span class="bbc">pam_group.so</span> call that seems to be missing. Though it&#039;s kind of an untested wild guess so don&#039;t hold your breath.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 26 Oct 2026 07:16:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66244#p66244</guid>
		</item>
		<item>
			<title><![CDATA[Re: Restarting sddm makes regular user part of the root group]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66243#p66243</link>
			<description><![CDATA[<p>I kinda solved my own problem until someone who knows how to help me will answer something much better:</p><p>Since using </p><div class="codebox"><pre><code>rc-service sddm restart</code></pre></div><p> makes you root the only workaround is to reinitiate everything, so <strong>on a true tty (Alt+F1-F6)</strong>:</p><div class="codebox"><pre><code># telinit 1
...(go into runlevel 1, and then exit)
# exit</code></pre></div><p>It&#039;s bad and probably not the best solution but I don&#039;t know how else to solve this problem, so for now, i&#039;ll simply restart pid 1</p><p><strong>Important note - Do not perform telinit 1 (or any &quot;sudo telinit ...&quot;) on a GUI terminal (QTerminal and so), do it on a regular tty</strong> because sddm breaks it and it won&#039;t send you back to a functional tty... (or is it just on my system?)</p><p>Again - this isn&#039;t a good solution, as it really messed my tap interfaces for incus...</p><p><strong>It is also worth to mention that: If you sent yourself into single mode (</p><div class="codebox"><pre><code># telinit s</code></pre></div><p>) and then you&#039;re accidentally pressing f2-f7 to switch tty, all ttys will freeze <span class="bbu">including the single-mode one</span> and become non-functioning, and then you won&#039;t be able to do anything except for magic sysrq (s+u+b) to force-reboot the machine</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (natanel)]]></author>
			<pubDate>Mon, 26 Oct 2026 05:56:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66243#p66243</guid>
		</item>
		<item>
			<title><![CDATA[Restarting sddm makes regular user part of the root group]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66242#p66242</link>
			<description><![CDATA[<p>Hi,</p><p>There&#039;s a problem I&#039;d like to inform you about.<br />Maybe it&#039;s something in my configuration? Perhaps it&#039;s global?</p><p>Using sddm (LXQt), Services managed by OpenRC</p><p>Whenever you restart sddm, Regular users are being added to the root group.</p><p>Before, on any tty/psudeo-terminal:</p><div class="codebox"><pre><code>$ groups
user cdrom floppy sudo audio dip video plugdev users netdev bluetooth lpadmin scanner incus-admin</code></pre></div><p>After:</p><p>On regular tty:</p><div class="codebox"><pre><code>$ sudo rc-service sddm restart</code></pre></div><p>On GUI psuedo-terminal (QTerminal):</p><div class="codebox"><pre><code>$ groups
user root cdrom floppy sudo audio dip video plugdev users netdev bluetooth lpadmin scanner incus-admin
$ id
uid=1000(user) gid=1000(user) groups=1000(user),0(root),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),105(netdev),109(bluetooth),111(lpadmin),114(scanner),995(incus-admin)</code></pre></div><p>Worth to mention that:<br />The user is part of the root group only on GUI terminal (within LXQt) and <strong>not on regular ttys</strong> (if you&#039;ll run the groups command on a regular tty, this won&#039;t happen)</p><p>How can I fix it?</p><p><strong>Update - <a href="https://github.com/sddm/sddm/issues/1159" rel="nofollow">I found out that it is a well known bug since 2018(!)</a></strong> how sad</p>]]></description>
			<author><![CDATA[dummy@example.com (natanel)]]></author>
			<pubDate>Mon, 26 Oct 2026 05:31:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66242#p66242</guid>
		</item>
	</channel>
</rss>
