<?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=7430&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Login as root on Graphcial desktop possible]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7430</link>
		<description><![CDATA[The most recent posts in Login as root on Graphcial desktop possible.]]></description>
		<lastBuildDate>Tue, 28 Oct 2025 10:47:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58807#p58807</link>
			<description><![CDATA[<p>I always assumed that not being able to use a GUI as root was to discourage beginners from using it as normal way of working, and that if you could not do what you needed to do as root on the command line, you should not be doing it anyway. I log in as root when I need to (I rarely use sudo) and it is only ever for things like editing fstab with nano.</p><p>I have a different colour scheme in my root CLI session from my normal user session, in addition to the change of prompt character, so I am clearly reminded of where I am.</p>]]></description>
			<author><![CDATA[dummy@example.com (Duke Nukem)]]></author>
			<pubDate>Tue, 28 Oct 2025 10:47:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58807#p58807</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58492#p58492</link>
			<description><![CDATA[<p>I have just raised a bug report against Debian: </p><p>Bug#1117664: lightdm: Per default it is possible to login as user root graphically</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Thu, 09 Oct 2025 12:00:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58492#p58492</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58424#p58424</link>
			<description><![CDATA[<p>I think there is a significant security risk - if there&#039;s a vulnerability in some piece of software that gives an attacker access to your session, they don&#039;t have to bother with escalating privileges because they&#039;re already root. Imagine running a web browser as root and allowing all unknown entities to run javascript as root on your machine. Up until recently, xorg always ran as root. It was changed because it was a security risk.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 05 Oct 2025 19:19:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58424#p58424</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58423#p58423</link>
			<description><![CDATA[<p>Ahh I see, thanks for the explanation @rolfie.</p><div class="quotebox"><blockquote><div><p>The naive standard user who logs in as root has all possibilities to damage and wreck his system. Maybe &quot;security&quot; is not a perfect term for these risks.</p></div></blockquote></div><p>I totally get that. It was just the term &quot;security risk&quot; that was throwing me off. Perhaps a better term might be &quot;noob fat-finger risk&quot; <img src="https://dev1galaxy.org/img/smilies/lol.png" width="15" height="15" alt="lol" /></p><p>I myself run my machines normally the exact same way as you do, I work in the user account, and when I need to mod system files I use &quot;open folder as root&quot; or &quot;edit file as root&quot;. If i&#039;m working in terminal I su-to-root, I don&#039;t use sudo at all.</p><p>I have to admit, I have fat-fingered an install myself back in the day.</p><div class="quotebox"><blockquote><div><p>In my opinion lightdm shouldn&#039;t allow root access per default. It should be locked, and the experienced user may open this gate.</p></div></blockquote></div><p>Agreed, that seems sensible.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Sun, 05 Oct 2025 19:13:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58423#p58423</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58422#p58422</link>
			<description><![CDATA[<p>Suse used to allow root login to desktop. I don&#039;t know if it&#039;s still the case. The default desktop background for root was a picture of a bomb. Good reminder.</p><p>The only time I ever log into the desktop as root is if I can&#039;t do it as user, and I want to narrow down the problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 05 Oct 2025 19:13:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58422#p58422</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58421#p58421</link>
			<description><![CDATA[<p>@greenjeans: Why do I consider graphical root login as security risk?</p><p>Here is my answer: I am on Daedalus with Lightdm/Cinnamon. I log in as user, the root account exists and has a password. I do not use sudo except for Veracrypt. </p><p>For root access I can either call up graphical programs like gparted where root access is granted by policykit, start a root terminal, or perform file copy/paste activities in Nemo via &quot;Open as admin&quot; if required. I do get along with these features very well. These features support everything I ever needed to do with root privilegues. Running root on the desktop is not required in my opinion. </p><p>BTW: everything started because a beginner in the German Debian forum complained about not being able to easily work as root despite the access being possible, something with LXDE and Lightdm. </p><p>The naive standard user who logs in as root has all possibilities to damage and wreck his system. Maybe &quot;security&quot; is not a perfect term for these risks. Well, somebody with deep knowledge and experience will easily get a long with root on the desktop. Me too. </p><p>In the IRC chat somebody said that root on the desktop isn&#039;t forbidden, just discouraged. </p><p>In my opinion lightdm shouldn&#039;t allow root access per default. It should be locked, and the experienced user may open this gate.</p><p>PS: other DMs like sddm and gdm inhibit root login.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 05 Oct 2025 17:58:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58421#p58421</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58420#p58420</link>
			<description><![CDATA[<p>Hello:</p><p>And <em>now</em> ...&#160; <br />A side-note to a side-note.&#160; ; ^ )</p><p>I have a Devuan Daedalus VM I can run (for experimental / testing purposes) on my Devuan Daedalus box.<br />It is the <em>bog-standard</em> image from the download repository and I can log in (via <span class="bbc">SLiM</span>) as <span class="bbc">root</span>:</p><div class="codebox"><pre><code># whoami
root
# 
# uname -a
Linux daedalus 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
# </code></pre></div><p>My box works the same way.<br />I have no issue with that, just have to take the necessary precautions.</p><p>That said, I have never (ever) needed to do it.<br />I have specific <span class="bbc">sudoers</span> entries for all-things I allow as <span class="bbc">sudo</span>.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Oct 2025 17:16:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58420#p58420</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58419#p58419</link>
			<description><![CDATA[<p>Just a side-note:<br />I have just yet installed a fresh Devuan (Excalibur RC1, OpenRC, LightDM, Cinnamon) for testing and can confirm your findings, rolfie:<br />LightDM lets you login as root.<br />Some Daedalus- and all LinuxMint don&#039;t allow this. You only have login-boxes for users (from the users-range UIDs).<br />Excalibur shows a login asking the username, then the password. As did Gnome and XFCE with their DMs in older times.<br />Again, I can live with that.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 05 Oct 2025 15:17:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58419#p58419</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58411#p58411</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I consider a graphical root login as a security risk.</p></div></blockquote></div><p>May I ask why? Just curious what the reasoning is for that.</p><p>Myself I would be very upset if I couldn&#039;t login as root on my own system on my own machine, that would be a deal-breaker for sure.</p><p>I don&#039;t normally run a root session, but I do like it to be available. I actually go to great lengths in Vuu-do to recreate the same experience in the root account that the user account has, nothing more jarring than logging in to a root account and having nothing but a blank screen.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Sat, 04 Oct 2025 20:27:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58411#p58411</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58409#p58409</link>
			<description><![CDATA[<p>Interesting, thank you, rolfie.<br />At least there is your solution should the problem be present. Great. Bravo.</p><p>It&#039;s still funny that I have one Daedalus machine that I use daily as my my main desktop-computer that does not show the problem. It was installed with the first iso and maintained from then on. (As always Devuan, OpenRC, lighdm, cinnamon)<br />I&#039;m not going to research why. I have very strong passwords - and a very conscious way to use IT.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sat, 04 Oct 2025 16:56:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58409#p58409</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58404#p58404</link>
			<description><![CDATA[<p>Definitely lightdm has a leak. lightdm allows root login. Since I do not use other DM&#039;s, I can&#039;t speak for their performance. </p><p>Based on a web research and a chat on the Devuan Developers IRC, I have identified two possible fixes. </p><p>1.) Add a line to /etc/pam.d/lightdm </p><div class="codebox"><pre><code>auth required pam_succeed_if.so user != root quiet</code></pre></div><p>2.) Set up a group that is allowed to login:</p><div class="codebox"><pre><code># groupadd dmlogin
# usermod -aG dmlogin urmel # urmel is a dummy. Replace with real usernames. Repeat for all other users that shall be permitted</code></pre></div><p>Change /etc/pam.d/lightdm and add:</p><div class="codebox"><pre><code>auth required pam_succeed_if.so user ingroup dmlogin</code></pre></div><p>In both cases trying to login as root returns &quot;wrong password&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sat, 04 Oct 2025 16:02:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58404#p58404</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58290#p58290</link>
			<description><![CDATA[<p>Its not limited to Devuan. </p><p>Raised the topic in the German Debian forum too: <a href="https://debianforum.de/forum/viewtopic.php?t=192885" rel="nofollow">https://debianforum.de/forum/viewtopic.php?t=192885</a></p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 29 Sep 2025 17:57:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58290#p58290</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58284#p58284</link>
			<description><![CDATA[<p>Thanks for you info.....<br />but, now I&#039;m lost. Sounds like mystery to me.<br />Greetings</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Mon, 29 Sep 2025 08:50:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58284#p58284</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58271#p58271</link>
			<description><![CDATA[<p>Thanks, that line already is present. Seems to be ignored.</p><p>I have here:</p><div class="codebox"><pre><code>[UserList]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin</code></pre></div><p>Edit: Just saw:</p><div class="codebox"><pre><code># NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored</code></pre></div><p>Does this AccountsService relate to PAM?</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 28 Sep 2025 17:02:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58271#p58271</guid>
		</item>
		<item>
			<title><![CDATA[Re: Login as root on Graphcial desktop possible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58270#p58270</link>
			<description><![CDATA[<p>The hack is in the file /etc/lightdm/users.conf</p><p>The section:<br />[UserList]<br />minimum-uid=500</p><p>may help a lot. The root user is UID 0, GID 0.<br />So you couldn&#039;t find a root login entry in the login window.<br />I hope this helps. Greetings!</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 28 Sep 2025 16:30:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58270#p58270</guid>
		</item>
	</channel>
</rss>
