<?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=7634&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Replace multi-user/server mode login screen with a btop screen]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7634</link>
		<description><![CDATA[The most recent posts in [HowTo] Replace multi-user/server mode login screen with a btop screen.]]></description>
		<lastBuildDate>Mon, 01 Dec 2025 01:17:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[[HowTo] Replace multi-user/server mode login screen with a btop screen]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60273#p60273</link>
			<description><![CDATA[<p><span class="postimg"><img src="https://raw.githubusercontent.com/aristocratos/btop/refs/heads/main/Img/tty.png" alt="Btop" /></span><br />Sample image rights to <span class="bbu"><a href="https://github.com/aristocratos/btop" rel="nofollow">https://github.com/aristocratos/btop</a></span></p><p>Please notice this setting should be used only for personal or lab environments where physical access is controlled, as it does not provide strong security and is not recommended for production systems.</p><p>#Install btop</p><div class="codebox"><pre><code>sudo apt install -y btop</code></pre></div><p>#To create a restricted user account for running btop. Use a restricted shell like rbash to limit capabilities and prevent access to sensitive system functions. The account should not have a password and should be locked to prevent direct login.</p><div class="codebox"><pre><code>sudo useradd -s /bin/rbash -M btopusr</code></pre></div><div class="codebox"><pre><code>sudo usermod -L btopusr</code></pre></div><div class="codebox"><pre><code>sudo mkdir -p /home/btopusr/{.config/btop}</code></pre></div><p>#To create a .profile script in the user&#039;s home directory to automatically start btop, select and copy all the lines below to EOF, paste them in terminal and press Enter.<br /><span class="bbc">sudo tee /home/btopusr/.profile &gt; /dev/null &lt;&lt; &#039;EOF&#039;</span><br /><span class="bbc">btop --tty_off --low-color</span><br /><span class="bbc">exit</span><br /><span class="bbc">EOF</span></p><p># Change /home/btopusr/ folder ownership.</p><div class="codebox"><pre><code>sudo chown -R btopusr /home/btopusr/</code></pre></div><p># Edit tty1 service.</p><div class="codebox"><pre><code>sudo nano /etc/inittab</code></pre></div><p># Find the next line, # comment it and insert new line next to it, it will look as follows.<br /><span class="bbc">#1:2345:respawn:/sbin/getty --noclear 38400 tty1</span><br /><span class="bbc">1:2345:respawn:/sbin/agetty --autologin btopusr 38400 tty1</span> </p><p># Reboot to apply changes.</p><div class="codebox"><pre><code>sudo reboot</code></pre></div><p>After rebooting, the console will display btop instead of the login prompt. Pressing Ctrl+Alt+F2 through F6 will provide access to standard login prompts on other virtual terminals, preserving access for administrative tasks.</p><p># To revert it then just change /etc/inittab to its original setting for the line and comment the one that you added.<br /><span class="bbc">1:2345:respawn:/sbin/getty --noclear 38400 tty1</span><br /><span class="bbc">#1:2345:respawn:/sbin/agetty --autologin btopusr 38400 tty1</span></p><p>Tested on Devuan 6 (Excalibur) but it should work the same with previous version or any other system using SysVinit or adapt it accordingly for OpenRC.</p>]]></description>
			<author><![CDATA[dummy@example.com (joser)]]></author>
			<pubDate>Mon, 01 Dec 2025 01:17:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60273#p60273</guid>
		</item>
	</channel>
</rss>
