<?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=4263&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Using LKRG module with Devuan Linux]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4263</link>
		<description><![CDATA[The most recent posts in Using LKRG module with Devuan Linux.]]></description>
		<lastBuildDate>Wed, 14 Apr 2021 22:57:44 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29125#p29125</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><div class="quotebox"><cite>Eaglet wrote:</cite><blockquote><div><p>After that, the lkrg module will start running every time a user logs into DE.</p></div></blockquote></div><p>What would happen if a user types ctrl-alt-F1 and logged on to a text console? Or logged on from another system via SSH etc? You have to look for ways round any security checks.</p><p>Chris</p></div></blockquote></div><p>I am aware of this. That is why I proposed the solution I described.</p>]]></description>
			<author><![CDATA[dummy@example.com (Eaglet)]]></author>
			<pubDate>Wed, 14 Apr 2021 22:57:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29125#p29125</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29110#p29110</link>
			<description><![CDATA[<div class="quotebox"><cite>Eaglet wrote:</cite><blockquote><div><p>After that, the lkrg module will start running every time a user logs into DE.</p></div></blockquote></div><p>What would happen if a user types ctrl-alt-F1 and logged on to a text console? Or logged on from another system via SSH etc? You have to look for ways round any security checks.</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 14 Apr 2021 16:58:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29110#p29110</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29090#p29090</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Well the systemd unit files supplied by the upstream developers load the module at boot (<em>ie</em>, before the DE starts) so I presume that is the expected behaviour.</p></div></blockquote></div><p>Yes, I agree with you.</p>]]></description>
			<author><![CDATA[dummy@example.com (Eaglet)]]></author>
			<pubDate>Tue, 13 Apr 2021 20:51:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29090#p29090</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29088#p29088</link>
			<description><![CDATA[<p>Well the systemd unit files supplied by the upstream developers load the module at boot (<em>ie</em>, before the DE starts) so I presume that is the expected behaviour.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 13 Apr 2021 19:29:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29088#p29088</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29082#p29082</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Which functionality will not work?</p><p>My suggested configuration files load the module and apply the sysctl setting at boot so they do exactly what your suggested script does.</p></div></blockquote></div><p>For example, removable drives (Flash, SD-card) are not mounted when the <span class="bbc">lkrg</span> module is loaded at system boot, and not when DE starts.</p>]]></description>
			<author><![CDATA[dummy@example.com (Eaglet)]]></author>
			<pubDate>Tue, 13 Apr 2021 17:15:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29082#p29082</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29081#p29081</link>
			<description><![CDATA[<p>Which functionality will not work?</p><p>My suggested configuration files load the module and apply the sysctl setting at boot so they do exactly what your suggested script does.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 13 Apr 2021 16:39:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29081#p29081</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29080#p29080</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Whonix has a DKMS .deb package for LKRG:</p><p><a href="https://www.whonix.org/wiki/Linux_Kernel_Runtime_Guard_LKRG/Build_Debian_Package_from_Source_Code" rel="nofollow">https://www.whonix.org/wiki/Linux_Kerne … ource_Code</a></p><p>Their current version is 0.8.1 but the git repository has a debian/watch file so it can be updated with <span class="bbc">uscan</span>.</p><p>The .deb only supplies the systemd unit files but the same effect can be achieved by adding this line to /etc/modules (or in it&#039;s own file under /etc/modules-load.d/):</p><div class="codebox"><pre><code>p_lkrg</code></pre></div><p>And also add this line to /etc/sysctl.conf (or in it&#039;s own file under /etc/sysctl.conf.d/):</p><div class="codebox"><pre><code>lkrg.clean_message = 0</code></pre></div><p>No need for lkrg.sh or any additions to /etc/sudoers <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p></div></blockquote></div><p>My post is about integrating the <span class="bbc">&quot;lkrg&quot;</span> module with DE (Gnome, KDE, XFCE &amp; etc.), not for use on servers and other systems. If you follow your advice, then some of the DE functionality will not work!</p>]]></description>
			<author><![CDATA[dummy@example.com (Eaglet)]]></author>
			<pubDate>Tue, 13 Apr 2021 16:22:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29080#p29080</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29067#p29067</link>
			<description><![CDATA[<p>Whonix has a DKMS .deb package for LKRG:</p><p><a href="https://www.whonix.org/wiki/Linux_Kernel_Runtime_Guard_LKRG/Build_Debian_Package_from_Source_Code" rel="nofollow">https://www.whonix.org/wiki/Linux_Kerne … ource_Code</a></p><p>Their current version is 0.8.1 but the git repository has a debian/watch file so it can be updated with <span class="bbc">uscan</span>.</p><p>The .deb only supplies the systemd unit files but the same effect can be achieved by adding this line to /etc/modules (or in it&#039;s own file under /etc/modules-load.d/):</p><div class="codebox"><pre><code>p_lkrg</code></pre></div><p>And also add this line to /etc/sysctl.conf (or in it&#039;s own file under /etc/sysctl.conf.d/):</p><div class="codebox"><pre><code>lkrg.clean_message = 0</code></pre></div><p>No need for lkrg.sh or any additions to /etc/sudoers <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 13 Apr 2021 14:30:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29067#p29067</guid>
		</item>
		<item>
			<title><![CDATA[Using LKRG module with Devuan Linux]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29047#p29047</link>
			<description><![CDATA[<p>Hello, comrades!</p><p>I want to share with you the intricacies of using the LKRG module in Devuan Linux with DE (Gnome, KDE, LXDE &amp; etc.).<br />You can find more information about this security module at the link: <a href="https://www.openwall.com/lkrg/" rel="nofollow">https://www.openwall.com/lkrg/</a></p><p>To start using this module, you need to download the sources and compile the module itself using the command: &quot;make -j8&quot;. Next, install this module using the command: &quot;make install&quot;. <br />Since the installer of this module is intended for Linux systems using systemd, then during installation you will be told about an installation error. It is worth paying attention to this only if you want this module to be loaded at the start of the operating system, but when used on systems with DE (Gnome, KDE, LXDE &amp; etc.) I do not advise you to do this, because . false positives are possible when starting DE. In order for this module to start working at DE startup, you need to create an executable file in the user&#039;s working directory, for example, lkrg.sh with the following content:</p><div class="codebox"><pre><code>#!/bin/bash
sleep 10
sudo /sbin/modprobe p_lkrg p_init_log_level=3
sleep 3
sudo /sbin/sysctl lkrg.clean_message=0
exit 0</code></pre></div><p>And add the following information to the &quot;/etc/sudoers&quot; file:</p><div class="codebox"><pre><code>your_user ALL = NOPASSWD: /sbin/sysctl lkrg.clean_message=0,/sbin/modprobe p_lkrg p_init_log_level=3</code></pre></div><p>After that, the lkrg module will start running every time a user logs into DE.</p>]]></description>
			<author><![CDATA[dummy@example.com (Eaglet)]]></author>
			<pubDate>Tue, 13 Apr 2021 02:55:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29047#p29047</guid>
		</item>
	</channel>
</rss>
