<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3174&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Configuring persistence]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3174</link>
		<description><![CDATA[The most recent posts in Configuring persistence.]]></description>
		<lastBuildDate>Mon, 25 Nov 2019 17:18:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18680#p18680</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>... think it&#039;s all OK, you don&#039;t need to fix anything.<br />... System IDs not having a home dir is not a problem.<br />... odd that alien-os appears to be logged on to them if you havn&#039;t logged on there ...</p></div></blockquote></div><p>Thanks for the input.&#160; =-)</p><p>But I gave up on the Alien-OS live distribution, has too many unknowns for my liking and has not been updated for the past two years.<br />Also, some unknown (have to see if it reproduces later on) was borking up the USBs filesystem and cause for it to not be recognised at boot by the Ultra24&#039;s BIOS.</p><p>I heeded fsmithred&#039;s sound advice and went for the Devuan ASCII vbox image to which I am adding the basic applications I need to make a very slim live *.iso of my own.<br />This way I know where it came from and how it got to be.</p><p>So there&#039;ll be no surprises save those due to <em>my</em> own incompetence. =^) </p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 25 Nov 2019 17:18:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18680#p18680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18679#p18679</link>
			<description><![CDATA[<p>Hello,</p><p>Looking at that I think it&#039;s all OK, you don&#039;t need to fix anything. System IDs not having a home dir is not a problem.</p><p>tty1 to tty6 are the text terminals you can log on to from ctrl-alt-f1 to f6 (at least on Devuan). It&#039;s odd that alien-os appears to be logged on to them if you havn&#039;t logged on there, but probably harmless.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Mon, 25 Nov 2019 16:49:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18679#p18679</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18674#p18674</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>First try <span class="bbc">cat /etc/passwd</span> and see if there&#039;s more than 1 entry for alien-os.</p></div></blockquote></div><p>OK.</p><div class="codebox"><pre class="vscroll"><code>Alien-OS@groucho╺─╸[~]  cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
messagebus:x:100:104::/var/run/dbus:/bin/false
avahi-autoipd:x:101:105:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
colord:x:102:108:colord colour management daemon,,,:/var/lib/colord:/bin/false
saned:x:103:109::/var/lib/saned:/bin/false
lightdm:x:104:110:Light Display Manager:/var/lib/lightdm:/bin/false
usbmux:x:105:46:usbmux daemon,,,:/var/lib/usbmux:/bin/false
ntp:x:106:112::/home/ntp:/bin/false
uuidd:x:107:113::/run/uuidd:/bin/false

alien-os:x:1000:1000:,,,:/home/alien-os:/bin/bash

groucho:x:1001:1001:,,,:/home/groucho:/bin/bash
Alien-OS@groucho╺─╸[~]  </code></pre></div><p>Seems there&#039;s only one entry.</p><div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>Then <span class="bbc">pwck -r</span> and <span class="bbc">grpck -r</span> as root to check for errors in the relevant files.</p></div></blockquote></div><p>OK.</p><div class="codebox"><pre><code>Alien-OS@root╺─╸[groucho]  pwck -r
user &#039;lp&#039;: directory &#039;/var/spool/lpd&#039; does not exist
user &#039;news&#039;: directory &#039;/var/spool/news&#039; does not exist
user &#039;uucp&#039;: directory &#039;/var/spool/uucp&#039; does not exist
user &#039;www-data&#039;: directory &#039;/var/www&#039; does not exist
user &#039;list&#039;: directory &#039;/var/list&#039; does not exist
user &#039;irc&#039;: directory &#039;/var/run/ircd&#039; does not exist
user &#039;gnats&#039;: directory &#039;/var/lib/gnats&#039; does not exist
user &#039;nobody&#039;: directory &#039;/nonexistent&#039; does not exist
user &#039;saned&#039;: directory &#039;/var/lib/saned&#039; does not exist
user &#039;usbmux&#039;: directory &#039;/var/lib/usbmux&#039; does not exist
user &#039;ntp&#039;: directory &#039;/home/ntp&#039; does not exist
pwck: no changes
Alien-OS@root╺─╸[groucho]</code></pre></div><div class="codebox"><pre><code>Alien-OS@root╺─╸[groucho]  grpck -r
Alien-OS@root╺─╸[groucho]  </code></pre></div><div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>... can delete incorrect entries if run without -r (which means read-only) but read the man pages ...</p></div></blockquote></div><p>I&#039;ll read about what it does before I use it without <span class="bbc">-r</span>.</p><div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>Try ps -ef | grep alien-os to see what tasks are running as it.</p></div></blockquote></div><div class="codebox"><pre><code>Alien-OS@groucho╺─╸[~]  ps -ef | grep alien-os
alien-os  2885  2763  0 17:27 tty5     00:00:00 -bash
alien-os  2886  2760  0 17:27 tty2     00:00:00 -bash
alien-os  2887  2762  0 17:27 tty4     00:00:00 -bash
alien-os  2888  2761  0 17:27 tty3     00:00:00 -bash
alien-os  2889  2764  0 17:27 tty6     00:00:00 -bash
alien-os  2890  2759  0 17:27 tty1     00:00:00 -bash
groucho   3469  3408  0 17:33 pts/0    00:00:00 grep alien-os
Alien-OS@groucho╺─╸[~]  </code></pre></div><p>There they are ...<br />Six tasks.<br />One for each of the alien-os users.</p><div class="codebox"><pre><code>Alien-OS@groucho╺─╸[~]  users
alien-os alien-os alien-os alien-os alien-os alien-os groucho
Alien-OS@groucho╺─╸[~]  </code></pre></div><p>It&#039;s all over my head.<br />No idea what to make of it.</p><p>Thanks for your input.&#160; =-)</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 24 Nov 2019 17:46:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18674#p18674</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18672#p18672</link>
			<description><![CDATA[<p>A second thought,&#160; <span class="bbc">users</span> gets it&#039;s info from /var/run/utmp but that isn&#039;t always accurate (on my system <span class="bbc">users</span> says nothing even though I&#039;m certainly logged on to it). Try <span class="bbc">ps -ef | grep alien-os</span> to see what tasks are running as it.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 24 Nov 2019 17:27:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18672#p18672</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18670#p18670</link>
			<description><![CDATA[<p>First try <span class="bbc">cat /etc/passwd</span> and see if there&#039;s more than 1 entry for alien-os.</p><p>Then <span class="bbc">pwck -r</span> and <span class="bbc">grpck -r</span> as root to check for errors in the relevant files. They can delete incorrect entries if run without -r (which means read-only) but read the man pages and use that with caution.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 24 Nov 2019 17:20:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18670#p18670</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18660#p18660</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>The solution may be (?) in ...</p></div></blockquote></div><p>I managed to (sort of) fix things.</p><p>I was able to drop to a shell and by means of <span class="bbc">sudo su</span> become root.<br />Then I gave <span class="bbc">root</span> a new password and added a <span class="bbc">user</span> with his own password.</p><p>So, now I was able to log-in both as <span class="bbc">root</span> with administrative privileges and as <span class="bbc">user</span>.</p><p>Certain that I could log-in under both IDs, I tried to get rid of user <span class="bbc">alien-os</span>, whose password I did not know and name I did not like.</p><p>Unfortunately, that was not possible as it was working with some process.</p><div class="codebox"><pre><code>Alien-OS@root╺─╸[~]  userdel alien-os
userdel: user alien-os is currently used by process 2890
Alien-OS@root╺─╸[~]  </code></pre></div><p>So I figured I could keep it in lieu of the newly created user which I would then remove.<br />No big deal ....</p><p>So, as root, changed alien-os&#039; password and the problem would be solved.</p><div class="codebox"><pre><code>Alien-OS@root╺─╸[~]  passwd alien-os
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Alien-OS@root╺─╸[~]  </code></pre></div><p>I then rebooted and when I logged in as user alien-os with the new password, instead of bringing up the desktop or saying that the password was not valid, LightDM came back like if nothing had happened: I typed the password at least ten times and it came back without logging me in every time.</p><p>I logged on as root again to see what was going on ie: see what users were in the system.<br />It was a surprise of sorts:</p><div class="codebox"><pre><code> Alien-OS@root╺─╸[~]  users
alien-os alien-os alien-os alien-os alien-os alien-os root
» Alien-OS@root╺─╸[~]  </code></pre></div><p>I installed <span class="bbc">members</span> and used it with <span class="bbc">groups</span> try to see who was what:</p><div class="codebox"><pre><code>Alien-OS@root╺─╸[~]  groups alien-os
alien-os : alien-os cdrom floppy audio dip video plugdev netdev bluetooth
Alien-OS@root╺─╸[~]  </code></pre></div><div class="codebox"><pre><code>Alien-OS@root╺─╸[~]  members alien-os
alien-os
Alien-OS@root╺─╸[~]  </code></pre></div><p>I have always read/been told that users have <span class="bbu">unique</span> names ie: there could only be <span class="bbu">one</span> user with <span class="bbc">alien-os</span> for a name.</p><p>But (unless I am missing something) in this case we are in front of six users sharing the same name.</p><p>This is where I stop and ask if anyone can shed some light into this.</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 24 Nov 2019 02:48:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18660#p18660</guid>
		</item>
		<item>
			<title><![CDATA[Configuring persistence]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18659#p18659</link>
			<description><![CDATA[<p>Hello:</p><p>While on the way to finish configuring a persistent Alien-OS to generate a new live *.iso, I have come across a(nother) problem.</p><p>Alien-OS would boot into persistence with <span class="bbc">user=Alien-OS</span> in the kernel command line by default.<br />Add <span class="bbc">persistence</span> to the line and that was it.</p><p>From then on, to make any administrative changes you would just <span class="bbc">sudo</span> them on.<br />Not my cup of tea but that is how it is set up by default and was planning to change that by adding a password to root and a user, just for <em>reminder&#039;s</em> sake if anything.</p><p>After doing a major update (this was a jessie from 2 years ago) and removing a number of unneeded things, I rebooted with persistence and was greeted by <span class="bbc">LightDM</span> asking for a password to log-in as Alien-OS or as Other.</p><p>I had not yet set a root password or a new user yet so I&#039;m at a loss here.<br />It probably has to do with whatever went into the update.</p><p>I have root access to the persistence partition and folders via my Devuan installation but don&#039;t know what to change or add to be able to log in.</p><p>I have tried renaming /persistence/etc/lightdm/lightdm.conf to lightdm.old but that did not work.</p><p>The solution may be (?) in /persistence/etc/pam.d/login but I don&#039;t know how to deal with that.</p><p>Any suggestions?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 24 Nov 2019 00:29:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18659#p18659</guid>
		</item>
	</channel>
</rss>
