<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Linux and Systems on datahacker</title>
		<link>https://datahacker.blog/categories/linux-and-systems/</link>
		<description>Recent content in Linux and Systems on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 26 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/categories/linux-and-systems/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Out-Bound Gmail Support in Ubuntu Server (Ubuntu 16/18/20/22&#43;)</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/configuring-ubuntu-16-18-20-22-to-send-email-via-gmail/</link>
				<pubDate>Wed, 07 Sep 2022 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/configuring-ubuntu-16-18-20-22-to-send-email-via-gmail/</guid>
				<description>&lt;p&gt;When I&amp;rsquo;m writing BaSH or SHell scripts - especially when it comes to scripts designed to monitor operational processes - I often find it useful to setup an automated alert system via email. I use Gmail exclusively for my personal email use, and have my account mirrored across multiple devices. So, when something occurs that I need to know about, it&amp;rsquo;s a straight-forward and simple way to get my attention. But, how does one get an Ubuntu server to send email to one&amp;rsquo;s Gmail account? Unfortunately, that is not so straight-forward.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Clear as Mud: OpenSSL and Ubuntu&#39;s Versioning System</title>
				<link>https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/</link>
				<pubDate>Mon, 07 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/</guid>
				<description>&lt;p&gt;In &lt;a href=&#34;https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/&#34;&gt;False Version Reporting in Ubuntu 16.04&lt;/a&gt;, I used OpenSSL to show why a program&amp;rsquo;s version banner can be misleading on its own. An Ubuntu build can retain the upstream base version and still contain fixes from later work. To find out what is installed, start with the binary and the package, then check the relevant security notice.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Verifying Ubuntu&amp;rsquo;s Version of OpenSSL&lt;/h2&gt;&#xA;&lt;p&gt;These commands answer different questions:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;command&lt;/span&gt; -v openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;openssl version -a&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;dpkg-query -W -f&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;${Package}\t${Version}\n&amp;#39;&lt;/span&gt; openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;apt-cache policy openssl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;command -v&lt;/code&gt; shows what your shell would run. The short version string identifies the OpenSSL build&amp;rsquo;s upstream version label. In the historical banner &lt;code&gt;OpenSSL 1.0.2g  1 Mar 2016&lt;/code&gt;, the date belongs to the upstream release label; it is not the date the Ubuntu binary was built. The &lt;a href=&#34;https://manpages.ubuntu.com/manpages/xenial/man1/version.1ssl.html&#34;&gt;version command documentation&lt;/a&gt; distinguishes that output from the build-date option (&lt;code&gt;-b&lt;/code&gt;), which is included in the more detailed &lt;code&gt;-a&lt;/code&gt; output.&lt;/p&gt;</description>
			</item>
			<item>
				<title>False Version Reporting in Ubuntu 16.04</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</link>
				<pubDate>Tue, 01 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/false-versioning-in-ubuntu-16-04/</guid>
				<description>&lt;p&gt;An OpenSSL version check on Ubuntu 16.04 could print the same &lt;code&gt;1.0.2g&lt;/code&gt; banner before and after a security update. The package did change. The short banner identifies the upstream base, not the full Ubuntu build or its patch history. That distinction matters when a version check guides an upgrade or a dependency decision.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-tip&#34; aria-label=&#34;Tip&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Tip&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;This is a sister article to &lt;a href=&#34;https://datahacker.blog/reference/linux-systems/ubuntu/clear-as-mud-openssl-and-ubuntu-versioning-system/&#34;&gt;Clear as Mud: OpenSSL and Ubuntu&amp;rsquo;s Versioning System&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xD;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Help! I Cannot Log into My Ubuntu Server!</title>
				<link>https://datahacker.blog/tutorials/linux-systems/ubuntu/cant-log-into-ubuntu-server/</link>
				<pubDate>Tue, 27 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/linux-systems/ubuntu/cant-log-into-ubuntu-server/</guid>
				<description>&lt;p&gt;Can&amp;rsquo;t boot your Ubuntu server?&lt;/p&gt;&#xA;&lt;p&gt;Garbled &lt;em&gt;GRUB&lt;/em&gt; file got you down?&lt;/p&gt;&#xA;&lt;p&gt;SSH on the fritz?&lt;/p&gt;&#xA;&lt;p&gt;Driving you crazy and ready to DELETE AND REINSTALL the O.S.???&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Quick and Simple chroot to Server Stuck in Limbo&lt;/h2&gt;&#xA;&lt;p&gt;Wait one. I can&amp;rsquo;t guarantee a solution, but this strategy has worked for me a few times.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;First Things, First&lt;/h3&gt;&#xA;&lt;p&gt;&lt;span id=&#34;recovery-media&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;p&gt;Grab yourself a Linux live USB or LiveCD that can boot the machine and provide a terminal. For an Ubuntu installation, an official Ubuntu live image matching the installed system’s CPU architecture is a straightforward starting point.&lt;/p&gt;</description>
			</item>
			<item>
				<title>systemd</title>
				<link>https://datahacker.blog/reference/linux-systems/systemd/</link>
				<pubDate>Fri, 23 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/systemd/</guid>
				<description>&lt;p&gt;&lt;em&gt;systemd&lt;/em&gt; is a &lt;a href=&#34;https://manpages.ubuntu.com/manpages/xenial/man1/systemd.1.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;system and service manager&lt;/a&gt;. When it runs as PID 1, it acts as the system&amp;rsquo;s init process and manages services and other resources through units. A separate user manager can also run within a user session.&lt;/p&gt;&#xA;&lt;p&gt;Ubuntu 15.04 made systemd its standard boot and service manager, replacing Upstart for that role; the &lt;a href=&#34;https://documentation.ubuntu.com/release-notes/15.04/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;release notes&lt;/a&gt; identify the Ubuntu Touch exception and continued use of Upstart for user sessions. This was a regular interim release, not an unscheduled release.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux ACL File Systems</title>
				<link>https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/</link>
				<pubDate>Tue, 25 Jun 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/linux-acl-file-systems/</guid>
				<description>&lt;p&gt;Linux already has a basic file-permission system: an owner, an owning group, and read, write, and execute permissions for the owner, group, and everyone else. Extended POSIX ACLs add finer control, such as permissions for an additional named user or group. A file without an extended ACL is not automatically open to everyone. See the Linux &lt;a href=&#34;https://man7.org/linux/man-pages/man7/inode.7.html&#34;&gt;file-mode documentation&lt;/a&gt; and &lt;a href=&#34;https://man7.org/linux/man-pages/man5/acl.5.html&#34;&gt;ACL manual&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;ACL is an acronym for &amp;ldquo;Access Control List.&amp;rdquo; In Linux documentation, the three ordinary permission entries can themselves be described as a minimal ACL. Here, &lt;strong&gt;extended ACL&lt;/strong&gt; means permissions beyond those basic owner/group/other entries. The name &amp;ldquo;POSIX ACL&amp;rdquo; is conventional; the underlying POSIX.1e draft did not become a final standard.&lt;/p&gt;</description>
			</item>
			<item>
				<title>What Is Bash?</title>
				<link>https://datahacker.blog/reference/linux-systems/bash/bash-bourne-again-shell/</link>
				<pubDate>Sat, 15 Jun 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/linux-systems/bash/bash-bourne-again-shell/</guid>
				<description>&lt;img alt=&#34;Original article image: What is BaSH?&#34; loading=&#34;lazy&#34; src=&#34;https://datahacker.blog/images/nano_screenshot_v4.png&#34;/&gt;&#xA;&lt;p&gt;Often written as &amp;ldquo;Bash&amp;rdquo; or &amp;ldquo;BASH&amp;rdquo;, &lt;em&gt;BaSH&lt;/em&gt; is an acronym for &amp;ldquo;Bourne Again SHell.&amp;rdquo; BaSH is a UNIX shell programming language interpreter that comes preinstalled with many UNIX and Linux based operating systems, including Ubuntu.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Why Use Bash?&lt;/h3&gt;&#xA;&lt;p&gt;Bash is free software distributed under the GNU General Public License. It is the GNU project&amp;rsquo;s shell: a program that interprets commands, runs other programs, and supports interactive work and scripts. The &lt;a href=&#34;https://www.gnu.org/software/bash/manual/html_node/What-is-Bash_003f.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;GNU introduction&lt;/a&gt; describes its relationship to the Bourne shell and features borrowed from other shells.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
